THotPDF.AddPage Method

 

THotPDF.AddPage

THotPDF

 

Κορυφή  Προηγούμενο  Επόμενο

Adds new page to the document.

 

Σύνταξη Delphi:

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