BingMapsTask.ZoomLevel Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the initial zoom level of the map.
Namespace: Microsoft.Phone.Tasks
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property ZoomLevel As Double
public double ZoomLevel { get; set; }
<object ZoomLevel="double" .../>
Property Value
Type: System..::.Double
Type: Double. The zoom level of the map.
Remarks
Setting this property may throw one of the following exceptions.
ArgumentOutOfRangeException |
The zoom level must be greater than zero. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone
See Also
Reference
Microsoft.Phone.Tasks Namespace