Skip to main content

MapControl.ExportToImage(String, ImageExportOptions) 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 image file using the specified options.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public void ExportToImage(
    string filePath,
    ImageExportOptions options
)

Parameters

Name Type Description
filePath String

A string value, specifying the image file path.

options ImageExportOptions

A ImageExportOptions object, specifying export settings.

See Also