MapItemsLayerBase.ExportToSvg(String, SvgExportOptions) 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 data from this vector layer to the specified SVG file using the defined parameters.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v25.2.dll
NuGet Package: DevExpress.Win.Map
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | String | The path of the file that is used to save vector items. |
| exportOptions | SvgExportOptions | The storage of values required for correct export. |
Remarks
The export method requires several property values of the MapControl. If the layer is not added to the MapControl, the exportOptions parameter provides these values.
Note
Note that if this method is used, the parameters of exportOptions are always used instead of parameters of the Map Control.