This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.Rotation Property (ArcObjects .NET 10.5 SDK) |
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(
double degrees
);
[C++]
Parameters degrees [out, retval] degrees is a parameter of type double degrees [in] degrees is a parameter of type double
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.
IDisplayTransformation Interface | IScreenDisplay.RotateStop Method | IScreenDisplay.RotateStart Method | IScreenDisplay.RotateMoveTo Method | IDisplayTransformation.Rotation Property | IScreenDisplay.RotateTimer Method