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


IDisplayTransformation.Rotation Property (ArcObjects .NET 10.8 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
[C#]
public double Rotation {get; set;}
[C++]
HRESULT get_Rotation(
  double degrees
);
[C++]
HRESULT put_Rotation(
  System.Double* degrees
);
[C++]
Parameters
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.

Remarks

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