This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.Rotation Property (ArcObjects .NET 10.5 SDK) |
Determines how many degrees the map display is rotated.
[Visual Basic .NET] Public Property Rotation As Double
[C#] public double Rotation {get; set;}
[C++]
HRESULT get_Rotation(
double* Rotation
);
[C++]
HRESULT put_Rotation(
double Rotation
);
[C++]
Parameters Rotation [out, retval] Rotation is a parameter of type double Rotation [in] Rotation is a parameter of type double
This property is a shortcut to IDisplayTransformation::Rotation. The Rotation property controls the rotation of the display, and so the angle data appears inside the Map. The angle of the rotation is measured in degrees. Positive numbers rotate the display counter clockwise and negative numbers clockwise.