PdfStreamingExporter.Export(String) Method

Exports a report to the specified file path in PDF.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public void Export(
    string fileName
)

Parameters

Type Name Description
String fileName

A String which specifies the file name (including the full path) for the created PDF file.

Use this method to export a report in PDF using its current PDF-specific export options. These options are specified by the PdfExportOptions object returned by the ExportOptions.Pdf property of a report's XtraReport.ExportOptions. This object provides the PdfExportOptions.ImageQuality, PdfExportOptions.NeverEmbeddedFonts and other properties which specify parameters of the resulting PDF file.

If you want to ignore current report export options and use your specific settings, use the overloaded PdfStreamingExporter.Export method with the options parameter.

See Also