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


IScreenDisplay.RotateMoveTo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IScreenDisplay.RotateMoveTo Method

Rotates to new point.

[Visual Basic .NET]
Public Sub RotateMoveTo ( _
    ByVal pPoint As IPoint _
)
[C#]
public void RotateMoveTo (
    IPoint pPoint
);
[C++]
HRESULT RotateMoveTo(
  IPoint* pPoint
);
[C++]

Parameters pPoint [in]
pPoint is a parameter of type IPoint

Product Availability

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

Remarks

RotateMoveTo rotates the display based on the calculated angle between the start point supplied to RotateStart and the destination point provided to this method.  Next call RotateTimer to show the rotation degree readout and repaint the display from cache.

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