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.RotateMoveTo Method | IScreenDisplay.RotateStart Method | IScreenDisplay.RotateTimer Method | IDisplayTransformation.Rotation Property | IScreenDisplay.RotateStop Method