THPDFPage.Height Property
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.Height

THPDFPage

 

Top  Previous  Next

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( psA4, poPortrait );
Label1.Caption := 'Page 1 = ' + IntToStr( HPDF.CurrentPage.Width ) + 'x' + IntToStr( HPDF.CurrentPage.Height );

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

 

See also: Width, Size

Copyright©2007-2025 losLab.com