Skip to main content
A newer version of this page is available. .

WebDashboardExporter.ExportToImage(String, Stream, Size, DashboardState, DashboardImageExportOptions) Method

Exports a dashboard to the specified stream in Image format.

Namespace: DevExpress.DashboardWeb

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

Declaration

public void ExportToImage(
    string dashboardId,
    Stream stream,
    Size dashboardSize,
    DashboardState state,
    DashboardImageExportOptions options
)

Parameters

Name Type Description
dashboardId String

A String that specifies the identifier of a dashboard to be exported.

stream Stream

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

dashboardSize Size

A Size object that specifies the dashboard size.

state DashboardState

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

options DashboardImageExportOptions

A DashboardImageExportOptions object containing Image-specific options.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExportToImage(String, Stream, Size, DashboardState, DashboardImageExportOptions) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also