DashboardExporter.ExportToImage(Stream, Stream, Nullable<Size>, DashboardState, DashboardImageExportOptions) Method
In This Article
Exports a dashboard’s data to the specified stream in Image format.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
public void ExportToImage(
Stream dashboardXml,
Stream outputStream,
Size? dashboardSize = null,
DashboardState state = null,
DashboardImageExportOptions options = null
)
#Parameters
Name | Type | Description |
---|---|---|
dashboard |
Stream | A stream that contains the exported dashboard file. |
output |
Stream | A stream to which the created Image file should be sent. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
dashboard |
Nullable<Size> | null | The dashboard’s size in pixels. |
state | Dashboard |
null | A Dashboard |
options | Dashboard |
null | A Dashboard |
See Also