Proprietatea THPDFPage.Height

 

THPDFPage.Height

THPDFPage

 

Sus  Anterior  Următor

Specifies the vertical size of the page.

 

Sintaxă Delphi:

property Height: integer;

 

Sintaxă C++:

__property int Height;

 

Descriere

Folosiți proprietatea Height pentru a citi sau modifica înălțimea paginii

 

Exemplu de cod

// Creating multi-size pages in a single PDF document
HPDF.AddPage( A4, poPortrait );
Label1.Caption := 'Page 1 = ' + IntToStr( HPDF.CurrentPage.Width ) + 'x' + IntToStr( HPDF.CurrentPage.Height );

HPDF.AddPage( Letter, poLandscape );
Label2.Caption := 'Page 2 = ' + IntToStr( HPDF.CurrentPage.Width ) + 'x' + IntToStr( HPDF.CurrentPage.Height );

 

Vezi și: Width, Size