Skip to main content
A newer version of this page is available.
All docs
V18.2

PdfStreamingExporter.Export(String) Method

Exports a report to the specified file path in PDF.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public void Export(
    string fileName
)

Parameters

Name Type Description
fileName String

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

Remarks

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