Skip to main content

WebDashboardExporter.ExportToImage(String, Stream, Size, Padding) Method

Exports a dashboard to the specified stream in Image format.

Namespace: DevExpress.DashboardWeb

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

NuGet Package: DevExpress.Web.Dashboard.Common

Declaration

public void ExportToImage(
    string dashboardId,
    Stream stream,
    Size dashboardSize,
    Padding itemsPadding
)

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.

itemsPadding Padding

A Padding object that specifies the dashboard items paddings.

See Also