Back to Devexpress

MapControl.ExportToMht(String, MhtExportOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-exporttomht-x28-system-dot-string-devexpress-dot-xtraprinting-dot-mhtexportoptions-x29.md

latest1.6 KB
Original Source

MapControl.ExportToMht(String, MhtExportOptions) 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 MHTML 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 ExportToMht(
    string filePath,
    MhtExportOptions options
)
vb
Public Sub ExportToMht(
    filePath As String,
    options As MhtExportOptions
)

Parameters

NameTypeDescription
filePathString

A string value, specifying the file path.

| | options | MhtExportOptions |

A MhtExportOptions object, specifying export settings.

|

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace