|
THPDFPage.TextWidth
|
Top Previous Next |
|
Returns the width of a string rendered in the current font, in the page units of
Delphi syntax: function TextWidth ( Text: AnsiString ): Single;
C++ syntax: float __fastcall TextWidth ( AnsiString Text );
Description:
Use TextWidth to determine the length. TextWidth indicates whether a given string will fit in the available space. Other graphical elements such as lines, or additional strings can be positioned to accommodate the width of the text
The width includes the current horizontal scaling, character spacing ( |