Back to Devexpress

VectorLayerBase.ExportToShp(String, ShpExportOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-vectorlayerbase-dot-exporttoshp-x28-system-dot-string-devexpress-dot-xpf-dot-map-dot-shpexportoptions-x29.md

latest1.7 KB
Original Source

VectorLayerBase.ExportToShp(String, ShpExportOptions) 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 vector layer’s content to the specified file with the specified export options.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void ExportToShp(
    string filePath,
    ShpExportOptions options
)
vb
Public Sub ExportToShp(
    filePath As String,
    options As ShpExportOptions
)

Parameters

NameTypeDescription
filePathString

A String value, specifying the path to a file to which the content will be exported.

| | options | ShpExportOptions |

A ShpExportOptions object, specifying the exporting options.

|

See Also

VectorLayerBase Class

VectorLayerBase Members

DevExpress.Xpf.Map Namespace