Back to Devexpress

MapControl.ExportToHtml(String, HtmlExportOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-exporttohtml-x28-system-dot-string-devexpress-dot-xtraprinting-dot-htmlexportoptions-x29.md

latest1.6 KB
Original Source

MapControl.ExportToHtml(String, HtmlExportOptions) 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 HTML 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 ExportToHtml(
    string filePath,
    HtmlExportOptions options
)
vb
Public Sub ExportToHtml(
    filePath As String,
    options As HtmlExportOptions
)

Parameters

NameTypeDescription
filePathString

A string value, specifying the file path.

| | options | HtmlExportOptions |

A HtmlExportOptions object, specifying export settings.

|

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace