WebDashboardExporter.ExportToExcel(String, Stream, DashboardState, DashboardExcelExportOptions) Method

Exports a dashboard to the specified stream in Excel format.

Namespace: DevExpress.DashboardWeb

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

Syntax

public void ExportToExcel(
    string dashboardId,
    Stream stream,
    DashboardState state,
    DashboardExcelExportOptions options
)

Parameters

Type Name Description
String dashboardId

A String that specifies the identifier of a dashboard whose data should be exported.

Stream stream

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

DashboardState state

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

DashboardExcelExportOptions options

A DashboardExcelExportOptions object containing Excel-specific options.