THPDFPage.Height Propiedad

 

THPDFPage.Height

THPDFPage

 

Arriba  Anterior  Siguiente

Especifica el tamaño vertical de la página

 

Sintaxis Delphi:

property Height: integer;

 

Sintaxis C++:

__property int Height;

 

Descripción

Use la propiedad Height para leer o cambiar la altura de la página

 

Ejemplo de código

// 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 );

 

Ver también: Width, Size