THPDFPage.TextHeight – metoda

THPDFPage

 

Nahoru  Předchozí  Další

Returns the height, in pixels, of a string rendered in the current font.

 

Syntaxe Delphi:

function TextHeight ( const Text: AnsiString ): Single;

 

Syntaxe C++:

float __fastcall TextHeight ( AnsiString Text );

 

Description:

 

Použijte TextHeight k určení výšky řetězce. Další prvky, jako jsou čáry, rámečky nebo další řádky textu, lze umístit tak, aby zohlednily výšku textu