Back to Devexpress

MapControl.Zoom(Double, Point) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-zoom-x28-system-dot-double-system-dot-windows-dot-point-x29.md

latest1.3 KB
Original Source

MapControl.Zoom(Double, Point) Method

Zooms a map at the specified anchor point with the defined zoom level.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

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

Parameters

NameTypeDescription
zoomLevelDouble

A double value specifying a new zoom level.

| | anchorPoint | Point |

A Point specifying an anchor point to which the map should be zoomed.

|

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace