THotPDF.CurrentPage Property

THotPDF.CurrentPage

THotPDF

InizioPrecedenteSuccessivo

Dà accesso alla pagina del documento.

Sintassi Delphi:

property CurrentPage: THPDFPage;

Sintassi C++:

__property THPDFPage* CurrentPage;

Descrizione

Usa la proprietà CurrentPage per accedere ai metodi e alle proprietà della pagina.

Example di codice

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;