Skip to main content
All docs
V25.1
  • DashboardExporter.ExportToExcel(String, String, DashboardState, DashboardExcelExportOptions) Method

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

    Namespace: DevExpress.DashboardCommon

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

    NuGet Package: DevExpress.Dashboard.Core

    Declaration

    public void ExportToExcel(
        string dashboardXmlPath,
        string outputFilePath,
        DashboardState state = null,
        DashboardExcelExportOptions options = null
    )

    Parameters

    Name Type Description
    dashboardXmlPath String

    The path to the dashboard XML file.

    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