THotPDF.AddPage Méthode

 

THotPDF.AddPage

THotPDF

 

Haut  Précédent  Suivant

Adds new page to the document.

 

Syntaxe Delphi :

procedure AddPage;

 

Syntaxe C++ :

void __fastcall AddPage ( void );

 

Description

Utilisez la méthode AddPage pour ajouter une nouvelle page vide au document courant

 

Exemple de code

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