|
dxHotPDFExportReportLink Adaptor DevExpress ExpressPrinting System (
|
FastReport adapter QuickReport adapter ReportBuilder device |
|
Adaptor ekspor PDF DevExpress ExpressPrinting System (XtraPrinting / XtraReports / link printable cxGrid / dan sejenisnya) yang menggunakan HotPDF sebagai backend PDF di bawahnya alih-alih emitter bawaan DevExpress
Record opsi: type TdxHotPDFExportOptions = record Title, Author, Subject, Keywords: string; PDFVersion : TPDFVersType; // default pdf17 Compression: TPDFCompressionLevel; // default clDefault RenderDPI : Integer; // default 200 end;
function dxHotPDFDefaultOptions: TdxHotPDFExportOptions;
Titik masuk berbasis file: function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string): Boolean; overload;
Titik masuk berbasis stream: function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream): Boolean; overload;
Deskripsi Sistem pencetakan DevExpress berpusat pada
Adaptor ini meniru loop di
1. Pemanggil menjalankan 2. Adaptor memanggil 3. Untuk setiap indeks halaman, adaptor meminta 4. Halaman HotPDF baru ditambahkan (atau halaman pertama yang dibuat otomatis dipakai ulang), diukur sesuai dimensi point yang dihitung, lalu metafile diputar melalui 5.
Opsi
Alur kerja umum
dxComponentPrinter1.CurrentLink := cxGridReportLink1; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf');
Atau dengan opsi kustom:
Opts := dxHotPDFDefaultOptions; Opts.Title := 'Q1 Sales'; Opts.RenderDPI := 300; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf', Opts);
Keluarga link yang didukung Semua turunan
Kapabilitas yang dipertahankan Konten halaman vektor dan raster yang dihasilkan oleh setiap keluarga link DevExpress (cxGrid, cxScheduler, cxRichEdit, cxPivotGrid, link kustom). String teks yang diselesaikan GDI (DevExpress merender teks lewat
Batasan bridge metafile Karena halaman ditangkap sebagai enhanced metafile, fitur PDF khusus DevExpress yang membutuhkan informasi struktural (field AcroForm interaktif, tujuan bernama, bookmark / outline, gate kepatuhan PDF/A atau PDF/X) tidak diteruskan. Outputnya adalah reproduksi visual yang setia dari apa yang dirender DevExpress, bukan PDF terstruktur
Catatan pengemasan Adaptor ini berada di
Lihat juga: TfrxHotPDFExport, TQRHotPDFExportFilter, TppHotPDFDevice, THPDFPage.ShowMetafile, Dukungan EMF/WMF yang Ditingkatkan |