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


IRotateTracker Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IRotateTracker Interface

Provides access to members that control the rotation tracker.

Product Availability

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

Members

Description
Method AddGeometry Adds a geometry to be rotated.
Method AddPoint Adds a point and symbol to be rotated.
Read-only property Angle The angle.
Method ClearGeometry Clears all the geometries.
Read-only property Cursor If the mouse is over the tracker, return an HCURSOR to indicate legal operations based on mouse's relation to selection handles: move resize, etc. Return 0 if mouse isn't over tracker.
Method Deactivate Cancel tracking.
Write-only property Display The display used by the tracker.
Method OnKeyDown Special keypress processing while tracking.
Method OnMouseDown Begin tracking move or resize based on the location of the mouse over the tracker handles.
Method OnMouseMove In process move or resize tracking.
Method OnMouseUp Finish move or resize tracking.
Read/write property Origin The rotation origin.
Method Refresh Invalidate the portion of the screen covered by the tracker.

CoClasses that implement IRotateTracker

CoClasses and Classes Description
EngineRotateTracker Engine Rotate Tracker Class.
RotateTracker (esriCartoUI) Tracker for rotation operations.

Remarks

The IRotateTracker interface controls the rotation user interface. After cocreating a RotateTracker object, use the members in the following order: Display, Origin, ClearGeometry, and then one or more calls to either AddGeometry or AddPoint. If you were rotating a single polygon element, you would need just one call to AddGeometry for the element geometry; however, a rotation tracker can handle a group of elements. Use AddPoint for features with marker symbology.