DashboardExporter.ExportToPdf(Dashboard, Stream, Nullable<Size>, DashboardState, DashboardPdfExportOptions) Method
In This Article
Exports a dashboard’s data to the specified stream in PDF format.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
public void ExportToPdf(
Dashboard dashboard,
Stream outputStream,
Size? dashboardSize = null,
DashboardState state = null,
DashboardPdfExportOptions options = null
)
#Parameters
Name | Type | Description |
---|---|---|
dashboard | Dashboard | A dashboard from which the dashboard’s data is exported. |
output |
Stream | A stream to which the created PDF file should be sent. |
#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