Version

GetZoomFromGeographic(Point,Point) Method

Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
Syntax
'Declaration
 
Public Overloads Function GetZoomFromGeographic( _
   ByVal northWest As Point, _
   ByVal southEast As Point _
) As Rect
public Rect GetZoomFromGeographic( 
   Point northWest,
   Point southEast
)

Parameters

northWest
The north-west point of the geographic region.
southEast
The south-east point of the geographic region.

Return Value

The window zoom.
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