|
THotPDF |
맨 위 이전 다음 |
|
THotPDF is the main class used to create and manage PDF documents.
유닛 HPDFDoc
설명 Application에서 PDF document를 생성하려면
사용 예:
uses ... HPDFDoc, ...
type ... HPDF: THotPDF; ...
procedure TForm1.HelloWorldButtonClick(Sender: TObject); begin HPDF.AutoLaunch := true; // Show the PDF after it is created HPDF.FileName := '.\HelloWorld.pdf'; HPDF.BeginDoc; // Start PDF generation HPDF.CurrentPage.TextOut(10, 10, 0, 'Hello World!'); // Write text on the first page HPDF.EndDoc; // Finalize and save the PDF end;
|