|
Spécifie la hauteur de la page
Syntaxe Delphi:
property Height: integer;
Syntaxe C++:
__property int Height;
Description
Utilisez la propriété Height pour lire ou modifier la hauteur de la page
Exemple de code
// 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 );
Voir aussi: Width, Size
|