ITextFont2::GetPositionSubSuper method (tom.h)
Gets the subscript or superscript position relative to the baseline.
Syntax
HRESULT GetPositionSubSuper(
[out, retval] long *pValue
);
Parameters
[out, retval] pValue
Type: long*
The subscript or superscript position relative to the baseline.
Return value
Type: HRESULT
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
Remarks
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.
Requirements
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 |