DashboardExcelExportOptions Class

Contains options related to exporting a dashboard/dashboard item to the Excel format.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.1.Core.dll

Declaration

public class DashboardExcelExportOptions :
    IDashboardExportOptions
Public Class DashboardExcelExportOptions
    Implements IDashboardExportOptions

The following properties allow you to access default Excel-specific export options for different controls.

Moreover, you can specify Excel options when exporting a dashboard/dashboard item using the following methods.

Note

To export a dashboard/dashboard item on the web using an API, use ExportToExcel / ExportDashboardItemToExcel methods exposed by the ASPxClientDashboard class.

Examples

The following code snippet shows how to export data visualized within the Chart dashboard item using the DashboardDesigner.ExportDashboardItemToExcel method in the XLSX format.

using DevExpress.DashboardCommon;
// ...
            dashboardDesigner1.ExportDashboardItemToExcel("chartDashboardItem1", @"c:\temp\ExportedWorkbook.xlsx", new DashboardExcelExportOptions() {
                    Format = ExcelFormat.Xlsx
                }   
            );

Inheritance

Object
DashboardExcelExportOptions

See Also