Back to Devexpress

MapItemsLayerBase.ExportToSvg(Stream, Double, SvgExportOptions) Method

windowsforms-devexpress-dot-xtramap-dot-mapitemslayerbase-dot-exporttosvg-x28-system-dot-io-dot-stream-system-dot-double-devexpress-dot-xtramap-dot-svgexportoptions-x29.md

latest2.1 KB
Original Source

MapItemsLayerBase.ExportToSvg(Stream, Double, SvgExportOptions) Method

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

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public void ExportToSvg(
    Stream stream,
    double scale,
    SvgExportOptions exportOptions
)
vb
Public Sub ExportToSvg(
    stream As Stream,
    scale As Double,
    exportOptions As SvgExportOptions
)

Parameters

NameTypeDescription
streamStream

A Stream class descendant object specifying the stream to which map items should be exported.

| | scale | Double |

The scale factor used to export map items to SVG.

| | 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

MapItemsLayerBase Class

MapItemsLayerBase Members

DevExpress.XtraMap Namespace