![]() ![]() Use the Pdf/A Compatibility option to make the exported PDF file compatible with the PDF/A specification. Watch Video: Create Accessible PDF/A-1a, PDF/A-2a, PDF/A-3a, and PDF/UA-1 Documents from DevExpress Reports Export Editing Fields to AcroFormsĮnable the Export Editing Fields To AcroForms option to convert a report’s editing fields to interactive forms in the exported PDF file. For example, the “1,3,5-12” range exports the first, third, and all pages from the fifth to 12th. The Page Range option specifies the range of pages that should be exported to a PDF file. … and in the Export options dialog of the Document Viewer (Web platforms). The options below are available only in the Properies panel of the Report Designer (Visual Studio, WinForms, and WPF) … The following options are available in the PDF Export Dialog invoked from Visual Studio Preview tab, WinForms Print Preview, and WPF Print Preview, and in the Export Options dialog of the Document Viewer (Web platforms). Used if you enable Password Security and set Encryption Level to AES256. Used if you enable Password Security and set Encryption Level to AES128 or ARC4. The PDF export engine produces the following PDF document versions: PDF 1.4 (default) Supported in Adobe Acrobat version 5.0 or later. Report.ExportToPdf("result.pdf", pdfOptions) If ExportOptionsTool.EditExportOptions(pdfOptions, report.PrintingSystem) = DialogResult.OK Then ' and return a list of any detected inconsistencies.ĭim result As IList(Of String) = pdfOptions.Validate()Ĭonsole.WriteLine(String.Join(Environment.NewLine, result)) ' Check the validity of PDF export options ' (Optional) You can add metadata and attachments, ' (Optional) You can specify the security and signature options. 'pdfOptions.ShowPrintDialogOnOpen = true 'pdfOptions.NeverEmbeddedFonts = "Tahoma Courier New" ![]() ' The use of these options will result in PDF validation errors. ' The following options are not compatible with PDF/A. PdfOptions.PdfACompatibility = PdfACompatibility.PdfA3b PdfOptions.ImageQuality = PdfJpegImageQuality.Medium ' Specify the quality of exported images. Report.ExportToPdf("result.pdf", pdfOptions) ĭim pdfOptions As PdfExportOptions = If (ExportOptionsTool.EditExportOptions(pdfOptions, report.PrintingSystem) and return a list of any detected inconsistencies.Ĭonsole.WriteLine(String.Join(Environment.NewLine, result)) Check the validity of PDF export options (Optional) You can add metadata and attachments, (Optional) You can specify the security and signature options. pdfOptions.ShowPrintDialogOnOpen = true pdfOptions.NeverEmbeddedFonts = "Tahoma Courier New" The use of these options will result in PDF validation errors. The following options are not compatible with PDF/A. Specify the quality of exported images. View Example: Export a Report to PDF Format You can use the PdfStreamingExporter class together with CachedReportSource (WinForms/WPF) or CachedReportSourceWeb (Web platforms). To export a large report in code, use the PdfStreamingExporter class instead of the XtraReport.ExportToPdf/ XtraReport.ExportToPdfAsync method calls.
0 Comments
Leave a Reply. |