|
THPDFPage.TextWidth
|
Top Previous Next |
|
Gives the width of a string drawn in the current font, in the page units of
Delphi syntax: function TextWidth ( const 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 takes in the current horizontal scaling, character spacing ( |