Skip to main content

DashboardViewer.ExportDashboardItemToExcel(String, Stream, ExcelExportOptions) Method

OBSOLETE

This method is obsolete now. Use the ExportDashboardItemToExcel method instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/bc4046/

Exports the dashboard item to the specified stream in Excel format.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v24.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

[Obsolete("This method is obsolete now. Use the ExportDashboardItemToExcel(string dashboardItemName, Stream stream, DashboardExcelExportOptions options) method instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/bc4046/")]
public void ExportDashboardItemToExcel(
    string dashboardItemName,
    Stream stream,
    ExcelExportOptions options
)

Parameters

Name Type Description
dashboardItemName String

A String that is the component name of the dashboard item to be exported.

stream Stream

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

options ExcelExportOptions

A ExcelExportOptions object which specifies the Excel export options to be applied when the dashboard item is exported.

See Also