Skip to main content

DashboardViewer.ExportToPdf(String, 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 file 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(
    string filePath,
    PdfExportOptions options
)

Parameters

Name Type Description
filePath String

A String that specifies the path to the PDF file.

options PdfExportOptions

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

See Also