ESRI.ArcGIS.Mobile
RotationAngle Property
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Map Class : RotationAngle Property

Gets or sets the rotation angle of the map.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Map")>
<DescriptionAttribute("The rotation angle of the map in degrees.")>
<DefaultValueAttribute()>
Public Property RotationAngle As Double
C# 
[CategoryAttribute("Map")]
[DescriptionAttribute("The rotation angle of the map in degrees.")]
[DefaultValueAttribute()]
public double RotationAngle {get; set;}

Remarks

The rotation angle allows the map to be rotated between bearings of 0.0 and 359.99 degrees clockwise or counter-clockwise. If a value larger than 360 is specified it will be recalculated internally to fall within the valid range. For example the value of 450 is equal to setting map rotation to 90 degrees.

Positive RotationAngel will rotate the map clockwise, while negative RotationAngel will rotate the map counter-clockwise.

Changing rotation angle of a map does not change its scale. Therefore when the angle is other than 0 or 180 degrees the edges of the map within the current extent will not be visible on the map. To get the envelope bounding the rotated map extent including portion of the extent outside the area visible on the map use GetRotatedExtent method.

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