THotPDF.CurrentPage Property

 

THotPDF.CurrentPage

THotPDF

 

Haut  Précédent  Suivant

Gives access to the document page.

 

Syntaxe Delphi :

property CurrentPage: THPDFPage;

 

Syntaxe C++ :

__property THPDFPage* CurrentPage;

 

Description

Utilisez la propriété CurrentPage pour accéder aux méthodes et propriétés de la page

 

Exemple de code

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;