THotPDF.AddPage Metodo

 

THotPDF.AddPage

THotPDF

 

Inizio  Precedente  Successivo

Adds new page to the document.

 

Sintassi Delphi:

procedure AddPage;

 

Sintassi C++:

void __fastcall AddPage ( void );

 

Descrizione

Usare il metodo AddPage per aggiungere una nuova pagina vuota al documento corrente

 

Example di codice

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