THotPDF.AddPage
THotPDF
Adds new page to the document.
Delphi 語法:
procedure AddPage;
C++ 語法:
void __fastcall AddPage ( void );
說明
使用 AddPage method 將新的空白頁面加入目前檔案
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' );