|
dxHotPDFExportReportLink DevExpress ExpressPrinting System 用 adapter (
|
FastReport adapter QuickReport adapter ReportBuilder device |
|
DevExpress ExpressPrinting System (XtraPrinting / XtraReports / cxGrid printable link など) 用の PDF export adapter です。DevExpress 独自の
オプション type TdxHotPDFExportOptions = record Title, Author, Subject, Keywords: string; PDFVersion : TPDFVersType; // default pdf17 Compression: TPDFCompressionLevel; // default clDefault RenderDPI : Integer; // default 200 end;
function dxHotPDFDefaultOptions: TdxHotPDFExportOptions;
File-based entry points: function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string): Boolean; overload;
Stream-based entry points: function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream): Boolean; overload;
説明 DevExpress の printing system は
この adapter は DevExpress 自身の
1. 呼び出し元は、準備済みの 2. adapter はページを構成するために 3. 各ページインデックスについて、link に 4. 新しい HotPDF ページを追加するか、自動作成された最初のページを再利用します。計算された point 寸法にサイズを合わせ、 5.
オプション
典型的な workflow
dxComponentPrinter1.CurrentLink := cxGridReportLink1; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf');
Or with custom options:
Opts := dxHotPDFDefaultOptions; Opts.Title := 'Q1 Sales'; Opts.RenderDPI := 300; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf', Opts);
サポートされる link family
保持される機能 すべての DevExpress link family (cxGrid, cxScheduler, cxRichEdit, cxPivotGrid, custom links) から出力される vector および raster page content。GDI で解決された text string も対象です。DevExpress は
metafile bridge の制限 ページは enhanced metafile としてキャプチャされるため、構造情報を必要とする DevExpress 固有の PDF 機能 (interactive AcroForm fields, named destinations, bookmarks / outlines, PDF/A または PDF/X conformance gates) は引き継がれません。出力は DevExpress がレンダリングする内容の忠実な視覚的再現であり、構造化 PDF ではありません
パッケージング上の注意 adapter は
関連項目: TfrxHotPDFExport, TQRHotPDFExportFilter, TppHotPDFDevice, THPDFPage.ShowMetafile, Enhanced EMF/WMF Support |