HotPDF Delphi PDF Component Developer Guide | ![]() |
THPDFPage.TextWidth
|
Top Previous Next |
Returns the width, of a string rendered in the current font.
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. |
Copyright©2007-2019 losLab.com |