Back to Devexpress

MapControl.Zoom(Double, Boolean) Method

windowsforms-devexpress-dot-xtramap-dot-mapcontrol-dot-zoom-x28-system-dot-double-system-dot-boolean-x29.md

latest1.3 KB
Original Source

MapControl.Zoom(Double, Boolean) Method

Zooms a map to the specified level using the animation effect, if required.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public void Zoom(
    double zoomLevel,
    bool animated
)
vb
Public Sub Zoom(
    zoomLevel As Double,
    animated As Boolean
)

Parameters

NameTypeDescription
zoomLevelDouble

A double value specifying the level to which a map should be zoomed.

| | animated | Boolean |

true if the map uses animated zoom; otherwise, false.

|

See Also

MapControl Class

MapControl Members

DevExpress.XtraMap Namespace