Skip to main content

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

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

Namespace: DevExpress.DashboardWeb

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

NuGet Package: DevExpress.Web.Dashboard.Common

Declaration

public void ExportDashboardItemToImage(
    string dashboardId,
    string dashboardItemName,
    Stream stream,
    Size dashboardItemSize,
    DashboardState state,
    DashboardImageExportOptions options
)

Parameters

Name Type Description
dashboardId String

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

dashboardItemName String

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.

dashboardItemSize Size

A Size object that specifies the dashboard item size.

state DashboardState

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

options DashboardImageExportOptions

A DashboardImageExportOptions object containing Image-specific options.

See Also