DashboardExporter.ExportDashboardItemToExcel(Stream, String, Stream, DashboardState, DashboardExcelExportOptions) Method
In This Article
Exports a dashboard item’s data to the specified stream in Excel format.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
public void ExportDashboardItemToExcel(
Stream dashboardXml,
string dashboardItemName,
Stream outputStream,
DashboardState state = null,
DashboardExcelExportOptions options = null
)
#Parameters
Name | Type | Description |
---|---|---|
dashboard |
Stream | A stream that contains the dashboard from which the dashboard item’s data is exported. |
dashboard |
String | The component name of the dashboard item. |
output |
Stream | A stream to which the created Excel file should be sent. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
state | Dashboard |
null | A Dashboard |
options | Dashboard |
null | A Dashboard |
See Also