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

Exports the dashboard item to the specified stream in Image format.

Namespace: DevExpress.DashboardWeb

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


public void ExportDashboardItemToImage(
    string dashboardId,
    string dashboardItemName,
    Stream stream,
    Size dashboardItemSize,
    DashboardState state
Public Sub ExportDashboardItemToImage(
    dashboardId As String,
    dashboardItemName As String,
    stream As Stream,
    dashboardItemSize As Size,
    state As DashboardState


Type Name Description
String dashboardId

A String that specifies the identifier of a dashboard containing the required dashboard item.

String dashboardItemName

A String that is the component name of the dashboard item to be exported.

Stream stream

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

Size dashboardItemSize

A Size object that specifies the dashboard item size.

DashboardState state

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

See Also