|
THPDFPage |
トップへ |
|
THPDFPage は、PDF ドキュメント内の1つのページを表します。
ユニット HPDFDoc.pas
説明 THPDFPage を使用して、パスの描画、テキストの配置、画像のレンダリング、およびサイズ、向き、グラフィックス状態などのページレベルの設定の制御を行います。
使用例:
uses ... HPDFDoc, ...
type ... HPDF: THotPDF; ...
procedure TForm1.HelloWorldButtonClick(Sender: TObject); begin HPDF.AutoLaunch := true; // Show the PDF after it is created HPDF.File名前 := '.\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;
|