This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.RotateStart Method (ArcObjects .NET 10.4 SDK) |
Prepares display for rotating. If centerPt is NULL, the center of the visible bounds is used.
[Visual Basic .NET] Public Sub RotateStart ( _ ByVal mousePt As IPoint, _ ByVal centerPt As IPoint _ )
[C#] public void RotateStart ( IPoint mousePt, IPoint centerPt );
[C++]
HRESULT RotateStart(
IPoint* mousePt,
IPoint* centerPt
);
[C++]
Parameters mousePt [in]
mousePt is a parameter of type IPoint centerPt [in]
centerPt is a parameter of type IPoint
Call RotateStart to initiate rotating the display. The required point parameter specifies the starting point of the rotation. Call RotateMoveTo next to specify the rotation destination point, a rotation angle is calculated based on these two points.
The typical sequence for using the rotate methods is as follows:
See TrackRotate for an alternative rotating approach.
IScreenDisplay Interface | IScreenDisplay.RotateStop Method | IScreenDisplay.RotateStart Method | IScreenDisplay.RotateMoveTo Method | IDisplayTransformation.Rotation Property | IScreenDisplay.RotateTimer Method