THotPDF.FileName Property

 

THotPDF.FileName

THotPDF

 

先頭  前へ  次へ

PDF ファイルの名前とディレクトリパスを示します

 

Delphi syntax:

property FileName: TFileName;

 

C++ syntax:

__property AnsiString FileName;

 

説明

FileName プロパティを使用して、PDF ファイルのディレクトリと名前を判定します

 

Code Example

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;