THotPDF.AddPage – metoda

 

THotPDF.AddPage – metoda

THotPDF

 

Nahoru  Předchozí  Další

Přidá do dokumentu novou stránku

 

Syntaxe Delphi:

procedure AddPage;

 

Syntaxe C++:

void __fastcall AddPage ( void );

 

Popis

Metodu AddPage použijte k přidání nové prázdné stránky do aktuálního dokumentu

 

Příklad kódu

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