THPDFPage.TextHeight

THPDFPage

 

Góra  Poprzedni  Następny

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:

 

Użyj TextHeight, aby określić wysokość ciągu. Inne elementy, takie jak linie, ramki lub dodatkowe wiersze tekstu, można pozycjonować tak, aby uwzględniały wysokość tekstu