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


IMapControl2.Rotation Property (ArcObjects .NET 10.5 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(
  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

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