Skip to main content
All docs
V23.2

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

Exports a dashboard’s data to the specified stream in Excel format.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public void ExportToExcel(
    string dashboardXmlPath,
    Stream outputStream,
    DashboardState state = null,
    DashboardExcelExportOptions options = null
)

Parameters

Name Type Description
dashboardXmlPath String

The path to the dashboard XML file.

outputStream Stream

A stream to which the created Excel file should be sent.

Optional Parameters

Name Type Default Description
state DashboardState null

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

options DashboardExcelExportOptions null

A DashboardExcelExportOptions object that contains Excel-specific options.

See Also