Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Text
GetUnicodeTextWidth

See Also
Collapse All

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

Syntax

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

Return value
Width of the text

Remarks

This method returns the width (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 PageHeight for example.

See Also

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots