THotPDF.AddPage
THotPDF
向文档添加新页面
Delphi 语法:
procedure AddPage;
C++ 语法:
void __fastcall AddPage ( void );
说明
使用 AddPage 方法向当前文档添加新的空白页面
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' );