Components for Developers
© 2000-2008, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Text
Collapse All

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

Syntax

FLOAT GetTextWidth (
BSTR text
)
Parameters
text
Text string to be measured

Return value
Width of the text

Remarks

This method returns the width (in pixels) of the specified ANSI 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

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2008, Two Pilots