GetUnicodeTextHeight
IPDFDocument4 :: Page Operations :: Text

See Also
Collapse All

This method gets the height (in pixels) of the specified unicode string.

Syntax

FLOAT GetUnicodeTextHeight (
BSTR text
)
Parameters
text
Unicode text string to be measured

Return value
Height of the text

Remarks

This method returns the height (in pixels) of the specified unicode text string for the current font and page properties. Call UseFont to set the desired font before calling this method.

See theĀ PageHeight property for example.

See Also

Reference