THotPDF.FileName Property THotPDF.FileName Property THotPDF.FileName Property THotPDF.FileName Property THotPDF.FileName Property THotPDF.FileName Property THotPDF.FileName Property THotPDF.FileName Property THotPDF.FileName Property

 

THotPDF.FileName

THotPDF

 

Top  Previous  Next

Indica il nome e il percorso di directory del file PDF.

 

Sintassi Delphi:

property FileName: TFileName;

 

Sintassi C++:

__property AnsiString FileName;

 

Descrizione

Usa la proprietà FileName per determinare directory e nome del file PDF.

 

Esempio 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;