Back to Devexpress

MapControl.ExportToDocx(String, DocxExportOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-exporttodocx-x28-system-dot-string-devexpress-dot-xtraprinting-dot-docxexportoptions-x29.md

latest1.6 KB
Original Source

MapControl.ExportToDocx(String, DocxExportOptions) 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 a map to the specified file in the DOCX format with the specified settings.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void ExportToDocx(
    string filePath,
    DocxExportOptions options
)
vb
Public Sub ExportToDocx(
    filePath As String,
    options As DocxExportOptions
)

Parameters

NameTypeDescription
filePathString

The file path including the file name and extension, where the file should be created.

| | options | DocxExportOptions |

The export settings that are used to export the map to the file.

|

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace