Back to Devexpress

MapControl.ExportToXps(String, XpsExportOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-exporttoxps-x28-system-dot-string-devexpress-dot-xtraprinting-dot-xpsexportoptions-x29.md

latest1.6 KB
Original Source

MapControl.ExportToXps(String, XpsExportOptions) 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 XPS 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 ExportToXps(
    string filePath,
    XpsExportOptions options
)
vb
Public Sub ExportToXps(
    filePath As String,
    options As XpsExportOptions
)

Parameters

NameTypeDescription
filePathString

A string value, specifying the file path.

| | options | XpsExportOptions |

A XpsExportOptions object, specifying export settings.

|

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace