PdfStreamingExporter.Export(Stream, PdfExportOptions) Method
Exports a report to the specified stream in PDF using the specified PDF-specific options.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
public void Export(
Stream stream,
PdfExportOptions options = null
)
#Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream object to which the created PDF file should be sent. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
options | Pdf |
null | A Pdf |
#Remarks
Use this method to export a report in PDF using the specified PDF export options (like PdfExportOptions.ImageQuality, PdfExportOptions.NeverEmbeddedFonts and others.) In this case, the current report export options, which are specified by the ExportOptions.Pdf property accessed using the report’s XtraReport.ExportOptions property, are ignored.
If you want to use the current report export options, call the overloaded PdfStreamingExporter.Export method without the options parameter.