Back to Devexpress

MapControl.ExportToXls(String, XlsExportOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-exporttoxls-x28-system-dot-string-devexpress-dot-xtraprinting-dot-xlsexportoptions-x29.md

latest1.6 KB
Original Source

MapControl.ExportToXls(String, XlsExportOptions) 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 data to the specified XLS file using the specified export settings.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void ExportToXls(
    string filePath,
    XlsExportOptions options
)
vb
Public Sub ExportToXls(
    filePath As String,
    options As XlsExportOptions
)

Parameters

NameTypeDescription
filePathString

A string value, specifying the file path.

| | options | XlsExportOptions |

A XlsExportOptions object, specifying export settings.

|

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace