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

Exports a dashboard to the specified stream in Image format.

Namespace: DevExpress.DashboardWeb

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

Declaration

public void ExportToImage(
    string dashboardId,
    Stream stream,
    Size dashboardSize,
    DashboardState state
)
Public Sub ExportToImage(
    dashboardId As String,
    stream As Stream,
    dashboardSize As Size,
    state As DashboardState
)

Parameters

Type Name Description
String dashboardId

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

Stream stream

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

Size dashboardSize

A Size object that specifies the dashboard size.

DashboardState state

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

See Also