|
Specifies the vertical size of the page.
Delphi syntax:
property Height: integer;
C++ syntax:
__property int Height;
Description
Use the Height property to read or change the height of the page.
Code Example
// 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 );
See also: Width, Size
|