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

Exports a dashboard to the specified stream in Image format.

Namespace: DevExpress.DashboardWeb

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


public void ExportToImage(
    string dashboardId,
    Stream stream,
    Size dashboardSize,
    Padding itemsPadding,
    DashboardState state,
    DashboardImageExportOptions options
Public Sub ExportToImage(
    dashboardId As String,
    stream As Stream,
    dashboardSize As Size,
    itemsPadding As Padding,
    state As DashboardState,
    options As DashboardImageExportOptions


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 Image file should be sent.

dashboardSize Size

A Size object that specifies the dashboard size.

itemsPadding Padding

A Padding object that specifies the dashboard items paddings.

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