|
THPDFPage.TextHeight
|
Top Previous Next |
|
Gives the height of a string drawn in the current font (the font's ascent), in the page units of
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 |