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


IScreenDisplay.RotateStart Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IScreenDisplay.RotateStart Method

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

Product Availability

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

Remarks

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.

See Also

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