DashboardExporter.ExportToPdf(String, String, Nullable<Size>, DashboardState, DashboardPdfExportOptions) Method
In This Article
Exports a dashboard’s data to the specified PDF file.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.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 |
---|---|---|
dashboard |
String | The path to the dashboard XML file. |
output |
String | The path to the output PDF file. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
dashboard |
Nullable<Size> | null | The dashboard’s size in pixels. |
state | Dashboard |
null | A Dashboard |
options | Dashboard |
null | A Dashboard |
See Also