Share via


MapControlAutomationPeer.ZoomLevel Property

Definition

Gets the zoom level of the associated map, which is a value between 1 and 20 in 2D views.

public:
 property double ZoomLevel { double get(); };
double ZoomLevel();
public double ZoomLevel { get; }
var double = mapControlAutomationPeer.zoomLevel;
Public ReadOnly Property ZoomLevel As Double

Property Value

Double

double

The zoom level of the associated map.

Implements

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

See the remarks section of the TryZoomInAsync method.

Applies to