THotPDF.CurrentPage
THotPDF
Gives access to the document page.
Delphi 語法:
property CurrentPage: THPDFPage;
C++ 語法:
__property THPDFPage* CurrentPage;
說明
使用 CurrentPage property 存取 page methods 與 properties
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;