Version

WindowScale Property (XamMap)

Gets or sets the window scale used to render the map. In combination with the window center, the window scale fully defines the part of the map visible to the user.
Syntax
'Declaration
 
Public Property WindowScale As Double
public double WindowScale {get; set;}
Remarks
Window scale is specified as a pure number relative to the size of the world and the size of the physical viewport; a window scale of one will fit the world to the viewport such that the either world's width or height precisely fits the viewport, depending upon which dimension produces the loosest fit.

As far as possible, resizing the viewport at a constant WindowScale approximately maintains the visible part of the window.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also