Skip to main content

WebDashboardExporter.ExportToPdf(String, Stream, Size, DashboardState) Method

Exports a dashboard to the specified stream in PDF format.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v24.2.Web.dll

Declaration

public void ExportToPdf(
    string dashboardId,
    Stream stream,
    Size dashboardSize,
    DashboardState state
)

Parameters

Name Type Description
dashboardId String

A String that specifies the identifier of a dashboard to be exported.

stream Stream

A Stream object to which the created PDF file should be sent.

dashboardSize Size

A Size object that specifies the dashboard size.

state DashboardState

A DashboardState object that specifies the dashboard state to be applied to the resulting document.

See Also