MapControl.Zoom(Double, Point) Method

Zooms a map to the specified level around the specified anchor point.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v18.2.dll

Declaration

public void Zoom(
    double zoomLevel,
    Point anchorPoint
)
Public Sub Zoom(
    zoomLevel As Double,
    anchorPoint As Point
)

Parameters

Type Name Description
Double zoomLevel

An integer value specifying the level to which a map should be zoomed.

Windows.Foundation.Point anchorPoint

An anchor point.

Remarks

To verify whether or not it is possible to zoom a map, call the MapControl.CanZoom method before calling the Zoom method.

See Also