THPDFPage.TextHeight

THPDFPage

 

Inizio  Precedente  Successivo

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

 

Sintassi Delphi:

function TextHeight ( const Text: AnsiString ): Single;

 

Sintassi C++:

float __fastcall TextHeight ( AnsiString Text );

 

Descrizione:

 

Usare TextHeight per determinare l'altezza di una stringa. Altri elementi come linee, riquadri o righe aggiuntive di testo possono essere posizionati in base all'altezza del testo