ویژگی THPDFPage.Height

 

THPDFPage.Height

THPDFPage

 

بالا  قبلی  بعدی

اندازه عمودی صفحه را مشخص می‌کند

 

نحو Delphi:

property Height: integer;

 

نحو C++:

__property int Height;

 

توضیح

از property 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