THPDFPage.TextHeight

THPDFPage

 

Överst  Föregående  Nästa

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:

 

Använd TextHeight för att bestämma höjden på en sträng. Andra element, till exempel linjer, rutor eller ytterligare textrader, kan placeras för att rymma textens höjd