|
PDF file의 name 및 directory path를 나타냅니다
Delphi 구문:
property FileName: TFileName;
C++ 구문:
__property AnsiString FileName;
설명
PDF file의 directory와 name을 결정하려면 FileName property를 사용하십시오
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;
|