PdfStreamingExporter.Export(Stream) Method

Exports a report to the specified stream in PDF.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public void Export(
    Stream stream
)

Parameters

Type Name Description
Stream stream

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

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