ESRI.ArcGIS.ADF.Web.UI.WebControls
Rotation Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : Rotation Property




The rotation of the map in degrees.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("The rotation of the map in degrees.  If value is NaN, the primary map resource's rotation is used.  Otherwise, the rotation is applied.  0 is a valid rotation value and can be used to change the default rotation of the primary map resource.  When rotation is applied, all resources in the map should support map rotation.")>
<DefaultValueAttribute()>
<PersistenceModeAttribute()>
<ResCategoryAttribute("Image Output")>
Public Property Rotation As Double
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As Double
 
instance.Rotation = value
 
value = instance.Rotation
C# 
[ResDescriptionAttribute("The rotation of the map in degrees.  If value is NaN, the primary map resource's rotation is used.  Otherwise, the rotation is applied.  0 is a valid rotation value and can be used to change the default rotation of the primary map resource.  When rotation is applied, all resources in the map should support map rotation.")]
[DefaultValueAttribute()]
[PersistenceModeAttribute()]
[ResCategoryAttribute("Image Output")]
public double Rotation {get; set;}

Remarks

If value is a NaN, the primary map resource's rotation is used. Otherwise, the rotation is applied. 0 is a valid rotation value and can be used to change the default rotation of the primary map resource. When rotation is applied, all resources in the map should support map rotation.

See Also

© 2010 All Rights Reserved.