THPDFPage.Height
THPDFPage
กำหนดขนาดแนวตั้งของหน้า
Delphi syntax:
property Height: integer;
C++ syntax:
__property int Height;
คำอธิบาย
ใช้คุณสมบัติ Height เพื่ออ่านหรือเปลี่ยนความสูงของหน้า
// 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 );
ดูเพิ่มเติม: Width, Size