ESRI.ArcGIS.Mobile
GetViewExtent Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Map Class : GetViewExtent Method

ViewExtent is a polygon in map units that represents the bounds of the map control.

Syntax

Visual Basic (Declaration) 
Public Function GetViewExtent() As Polygon
C# 
public Polygon GetViewExtent()

Remarks

Map extent represents the bounding box of a map when the rotation angle is set to 0 degrees.

Rotated map extent represents the rectangular bounding box of a map containing the rotated map extent. At 0 degrees the rotated map extent is equal to mapextent. As the rotation angle changes the rotated extent is scaled to fully contain the map extent as well as areas outside map extent visible within the map control. At 45, 135, 225, and 315 degrees the rotated extent reaches its largest size. The rectangular bounding box of the rotated extent also covers areas that are not visible within the map control.

ViewExtent is a polygon that represents the bounds of the map control. It covers the portion of the rotated map extent that is visible within the map view.

The illustration below shows difference between extents at 0 and 45 degree angles. At 0 degrees all extents are coincidental. At 45 degrees map extent and rotated extent cover areas both within the map view as well as outside of it.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also