Back to Devexpress

MapControl.Zoom(Double, MapPoint, Boolean) Method

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

latest1.6 KB
Original Source

MapControl.Zoom(Double, MapPoint, Boolean) Method

Zooms a map to the specified level and anchor point 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 newZoomLevel,
    MapPoint anchorPoint,
    bool animated
)
vb
Public Sub Zoom(
    newZoomLevel As Double,
    anchorPoint As MapPoint,
    animated As Boolean
)

Parameters

NameTypeDescription
newZoomLevelDouble

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

| | anchorPoint | MapPoint |

A MapPoint value specifying an anchor point 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