DashboardExporter.ExportDashboardItemToImage(Stream, String, Stream, Nullable<Size>, DashboardState, DashboardImageExportOptions) Method
In This Article
Exports a dashboard item’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 ExportDashboardItemToImage(
Stream dashboardXml,
string dashboardItemName,
Stream outputStream,
Size? dashboardItemSize = null,
DashboardState state = null,
DashboardImageExportOptions options = null
)
#Parameters
Name | Type | Description |
---|---|---|
dashboard |
Stream | A stream that contains the dashboard from which the dashboard item’s data is exported. |
dashboard |
String | The component name of the dashboard item. |
output |
Stream | A stream to which the created Image file should be sent. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
dashboard |
Nullable<Size> | null | A dashboard item’s size set in pixels. |
state | Dashboard |
null | A Dashboard |
options | Dashboard |
null | A Dashboard |
See Also