HotPDF Developer Reference
Delphi and C++Builder PDF component help
|
THPDFPage.TextHeight
|
Top Previous Next |
|
Returns the height, in pixels, of a string rendered in the current font.
Delphi syntax: function TextHeight ( const Text: AnsiString ): Single;
C++ syntax: float __fastcall TextHeight ( AnsiString Text );
Description:
Use TextHeight to determine the height a string. Other elements such as lines, boxes, or additional lines of text can be positioned to accommodate the height of the text. |