ITextFont2::GetPositionSubSuper method (tom.h)
Gets the subscript or superscript position relative to the baseline.
HRESULT GetPositionSubSuper(
[out, retval] long *pValue
);
[out, retval] pValue
Type: long*
The subscript or superscript position relative to the baseline.
Type: HRESULT
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
The subscript or superscript position is relative to the baseline as a percent of the font height.
Subscripts and superscripts in math zones are handled using the tomSubscript, tomSuperscript, tomSubSup, and tomLeftSubSup mathematical objects. See ITextRange2::GetInlineObject.
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | tom.h |
DLL | Msftedit.dll |