Properti THPDFPage.Height

 

THPDFPage.Height

THPDFPage

 

Atas  Sebelumnya  Berikutnya

Menentukan ukuran vertikal halaman

 

Sintaks Delphi:

property Height: integer;

 

Sintaks C++:

__property int Height;

 

Deskripsi

Gunakan properti Height untuk membaca atau mengubah tinggi halaman

 

Contoh kode

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

 

Lihat juga: Width, Size