THotPDF.CurrentPage
THotPDF
Gives access to the document page.
Delphi 语法:
property CurrentPage: THPDFPage;
C++ 语法:
__property THPDFPage* CurrentPage;
说明
使用 CurrentPage 属性访问页面方法和属性
HPDF := THotPDF.Create( nil ); try HPDF.FileName := 'c:\Output.pdf'; HPDF.BeginDoc; // Start PDF document creation HPDF.CurrentPage.TextOut( 100, 100, 0, 'Hello World!' ); HPDF.EndDoc; // Finish and save PDF document finally HPDF.Free; end;