Skip to main content

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

public void ExportToMht(
    string filePath,
    MhtExportOptions options
)

Parameters

Name Type Description
filePath String

A string value, specifying the file path.

options MhtExportOptions

A MhtExportOptions object, specifying export settings.

See Also