DashboardViewer.ExportDashboardItemToImage(String, String, DashboardImageExportOptions) Method
SECURITY-RELATED CONSIDERATIONS
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Exports the dashboard item to the image file using the specified image options.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v25.2.Win.dll
NuGet Package: DevExpress.Win.Dashboard
Declaration
public void ExportDashboardItemToImage(
string dashboardItemName,
string filePath,
DashboardImageExportOptions options
)
Parameters
| Name | Type | Description |
|---|---|---|
| dashboardItemName | String | A String that is the component name of the dashboard item to be exported. |
| filePath | String | A String that specifies the path to the image file. |
| options | DashboardImageExportOptions | A DashboardImageExportOptions object that specifies the image export options to be applied when the dashboard item is exported. |
See Also