THotPDF.AddPage
THotPDF
문서에 새 페이지를 추가합니다.
Delphi syntax:
procedure AddPage;
C++ syntax:
void __fastcall AddPage ( void );
Description
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' );