Skip to main content
All docs
V24.2

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

Exports a dashboard item’s data to the specified Excel file.

Namespace: DevExpress.DashboardCommon

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

Declaration

public void ExportDashboardItemToExcel(
    Stream dashboardXml,
    string dashboardItemName,
    string outputFilePath,
    DashboardState state = null,
    DashboardExcelExportOptions options = null
)

Parameters

Name Type Description
dashboardXml Stream

A stream that contains the dashboard from which the dashboard item’s data is exported.

dashboardItemName String

The component name of the dashboard item.

outputFilePath String

The path to the output Excel file.

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