DashboardExporter.ExportDashboardItemToExcel(Dashboard, String, Stream, DashboardState, DashboardExcelExportOptions) Method
Exports a dashboard item’s data to the specified stream in Excel format.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
Declaration
public void ExportDashboardItemToExcel(
Dashboard dashboard,
string dashboardItemName,
Stream outputStream,
DashboardState state = null,
DashboardExcelExportOptions options = null
)
Parameters
Name | Type | Description |
---|---|---|
dashboard | Dashboard | A dashboard from which the dashboard item’s data is exported. |
dashboardItemName | String | The component name of the dashboard item. |
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