Skip to main content
All docs
V24.2

DashboardExporter.ExportToImage(Dashboard, String, Nullable<Size>, DashboardState, DashboardImageExportOptions) Method

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

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

#Declaration

public void ExportToImage(
    Dashboard dashboard,
    string outputFilePath,
    Size? dashboardSize = null,
    DashboardState state = null,
    DashboardImageExportOptions options = null
)

#Parameters

Name Type Description
dashboard Dashboard

A dashboard from which the dashboard’s data is exported.

outputFilePath String

The path to the output Image file.

#Optional Parameters

Name Type Default Description
dashboardSize Nullable<Size> null

The dashboard’s size in pixels.

state DashboardState null

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

options DashboardImageExportOptions null

A DashboardImageExportOptions object that contains Image-specific options.

See Also