Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapItemsLayerBase.ExportToSvg(String, SvgExportOptions) Method

Exports data from this vector layer to the specified SVG file using the defined parameters.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

public void ExportToSvg(
    string filePath,
    SvgExportOptions exportOptions
)

#Parameters

Name Type Description
filePath String

The path of the file that is used to save vector items.

exportOptions SvgExportOptions

The storage of values required for correct export.

#Remarks

The export method requires several property values of the MapControl. If the layer is not added to the MapControl, the exportOptions parameter provides these values.

Note

Note that if this method is used, the parameters of exportOptions are always used instead of parameters of the Map Control.

See Also