The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebDashboardExporter.ExportToExcel(String, Stream, DashboardState, DashboardExcelExportOptions) Method

Exports a dashboard to the specified stream in Excel format.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v19.2.Web.dll

Declaration

public void ExportToExcel(
    string dashboardId,
    Stream stream,
    DashboardState state,
    DashboardExcelExportOptions options
)
Public Sub ExportToExcel(
    dashboardId As String,
    stream As Stream,
    state As DashboardState,
    options As DashboardExcelExportOptions
)

Parameters

Name Type Description
dashboardId String

A String that specifies the identifier of a dashboard whose data should be exported.

stream Stream

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

state DashboardState

A DashboardState object that specifies the dashboard state to be applied to the resulting document.

options DashboardExcelExportOptions

A DashboardExcelExportOptions object containing Excel-specific options.

See Also