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

PdfStreamingExporter.Export(Stream) Method

Exports a report to the specified stream in PDF.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public void Export(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object to which the created PDF file should be sent.

Remarks

Use this method to export a report in PDF using its current PDF-specific export options. These options are represented 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