DashboardExporter.ExportToPdf(String, String, Nullable<Size>, DashboardState, DashboardPdfExportOptions) Method
Exports a dashboard’s data to the specified PDF file.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v25.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
public void ExportToPdf(
string dashboardXmlPath,
string outputFilePath,
Size? dashboardSize = null,
DashboardState state = null,
DashboardPdfExportOptions options = null
)
Parameters
| Name | Type | Description |
|---|---|---|
| dashboardXmlPath | String | The path to the dashboard XML file. |
| outputFilePath | String | The path to the output PDF file. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| dashboardSize | Nullable<Size> | null | The dashboard’s size in pixels. |
| state | DashboardState | null | A DashboardState object that specifies the dashboard state to be applied to the resulting document. |
| options | DashboardPdfExportOptions | null | A DashboardPdfExportOptions object that contains PDF-specific options. |
See Also