This document is archived and information here might be outdated.  Recommended version.


IMapControl2.Rotation Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IMapControl2.Rotation Property

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(
void
);
[C++]
HRESULT put_Rotation(
);

Product Availability

Available with ArcGIS Engine.

Description

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. 

See Also

IMapControl2 Interface