THotPDF.FileName Property

 

THotPDF.FileName

THotPDF

 

Boven  Vorige  Volgende

Geeft de naam en het mappad van het PDF-bestand aan

 

Delphi-syntaxis:

property FileName: TFileName;

 

C++-syntaxis:

__property AnsiString FileName;

 

Beschrijving

Gebruik de eigenschap FileName om de map en de naam van het PDF-bestand te bepalen

 

Codevoorbeeld

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;