Skip to main content

DashboardControl.ExportToPdf(String, DashboardPdfExportOptions) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

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

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v25.2.Wpf.dll

NuGet Package: DevExpress.Wpf.Dashboard

Declaration

public void ExportToPdf(
    string filePath,
    DashboardPdfExportOptions options
)

Parameters

Name Type Description
filePath String

A String that specifies the path to the PDF file.

options DashboardPdfExportOptions

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

See Also