Infragistics® WPF 2014.2
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.
Public Property WindowScale As Double
public double WindowScale {get; set;}
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.


Target Platforms: Windows 8.1, Windows 8, Windows 7, 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


XamMap Class
XamMap Members

E-mail your feedback on this topic.