MapControl.ExportToImage(String, DXImageFormat) 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 Map Control to an image.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v25.2.dll
NuGet Package: DevExpress.Win.Map
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | String | The file path. |
| format | DXImageFormat | Image format. |
See Also