WebDashboardExporter.ExportToPdf(String, Stream, Size, DashboardState, DashboardPdfExportOptions) Method
Exports a dashboard to the specified stream in PDF format.
NuGet Package: DevExpress.Web.Dashboard.Common
public void ExportToPdf( string dashboardId, Stream stream, Size dashboardSize, DashboardState state, DashboardPdfExportOptions options )
Public Sub ExportToPdf( dashboardId As String, stream As Stream, dashboardSize As Size, state As DashboardState, options As DashboardPdfExportOptions )
A String that specifies the identifier of a dashboard to be exported.
A Stream object to which the created PDF file should be sent.
A Size object that specifies the dashboard size.
A DashboardState object that specifies the dashboard state to be applied to the resulting document.
A DashboardPdfExportOptions object containing PDF-specific options.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ExportToPdf(String, Stream, Size, DashboardState, DashboardPdfExportOptions) method.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.