DashboardExporter.ExportDashboardItemToImage(String, String, String, Nullable<Size>, DashboardState, DashboardImageExportOptions) Method
In This Article
Exports a dashboard item’s data to the specified Image file.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
public void ExportDashboardItemToImage(
string dashboardXmlPath,
string dashboardItemName,
string outputFilePath,
Size? dashboardItemSize = null,
DashboardState state = null,
DashboardImageExportOptions options = null
)
#Parameters
Name | Type | Description |
---|---|---|
dashboard |
String | The path to the dashboard XML file. |
dashboard |
String | The component name of the dashboard item. |
output |
String | The path to the output Image file. |
#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