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

IDisplayTransformation.Rotation Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.Rotation Property
ArcGIS Developer Help

IDisplayTransformation.Rotation Property

Rotation angle in degrees.

[Visual Basic .NET]
Public Property Rotation As Double
public double Rotation {get; set;}
HRESULT get_Rotation(
  double degrees
HRESULT put_Rotation(
  System.Double* degrees
degrees [in]

degrees is a parameter of type double degrees [out, retval]
degrees is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


This property controls the rotation of the display.  The angle of the rotation is measured in degrees and the rotation occurs around the center of the FittedBounds.

TrackRotate automatically sets this property but if you are using RotateStart / RotateStop, you must do so yourself.  RotateStop provides the final angle rotation that should be used with this property.

Setting a new rotation automatically fires the ITransformEvents::RotationUpdated event.

See Also

IDisplayTransformation Interface | IScreenDisplay.RotateStop Method | IScreenDisplay.RotateStart Method | IScreenDisplay.RotateMoveTo Method | IDisplayTransformation.Rotation Property | IScreenDisplay.RotateTimer Method