Metoda THotPDF.AddPage

 

THotPDF.AddPage

THotPDF

 

Sus  Anterior  Următor

Adaugă o pagină nouă în document

 

Sintaxă Delphi:

procedure AddPage;

 

Sintaxă C++:

void __fastcall AddPage ( void );

 

Descriere

Folosiți metoda AddPage pentru a adăuga o pagină nouă, goală, în documentul curent

 

Exemplu de cod

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