THotPDF.AddPage
THotPDF
Adds new page to the document.
Delphi 구문:
procedure AddPage;
C++ 구문:
void __fastcall AddPage ( void );
설명
현재 document에 새 빈 page를 추가하려면 AddPage method를 사용하십시오
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' );