Skip to main content

DashboardViewer.ExportToPdf(Stream, PdfExportOptions) Method

OBSOLETE

This method is obsolete now. Use the ExportToPdf method instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/bc4046/

Exports a dashboard to the specified stream in PDF format using the specified PDF-specific options.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v24.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

[Obsolete("This method is obsolete now. Use the ExportToPdf(Stream stream, DashboardPdfExportOptions options) method instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/bc4046/")]
public void ExportToPdf(
    Stream stream,
    PdfExportOptions options
)

Parameters

Name Type Description
stream Stream

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

options PdfExportOptions

A PdfExportOptions object which specifies the PDF export options to be applied when a dashboard is exported.

See Also