THotPDF.AddPage Method

 

THotPDF.AddPage

THotPDF

 

الأعلى  السابق  التالي

Adds new page to the document.

 

Delphi syntax:

procedure AddPage;

 

C++ syntax:

void __fastcall AddPage ( void );

 

الوصف

استخدم الأسلوب AddPage لإضافة صفحة فارغة جديدة إلى المستند الحالي

 

Code Example

HPDF.AddPage( A4, poPortrait );          // Add A4 page in portrait orientation
HPDF.CurrentPage.TextOut( 200, 400, 'Page 1' );

HPDF.AddPage( Letter, poLandscape );     // Add Letter page in landscape orientation
HPDF.CurrentPage.TextOut( 300, 200, 'Page 2' );