This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRotateOperation Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control the Rotate Operation.
Description | ||
---|---|---|
ActiveView | The view that is being Rotated. | |
CanRedo | Indicates if the operation can be redone. | |
CanUndo | Indicates if the operation can be undone. | |
Do | Performs the operation. | |
MenuString | The menu string. | |
Name | The name of this operation, i.e., description of the kind of Rotate. | |
PreviousRotation | The previous rotation. | |
Redo | Redoes the operation. | |
Refresh | Indicates if refresh happens. | |
Rotation | The new rotation. | |
Undo | Undoes the operation. |
Interfaces | Description |
---|---|
IOperation | Provides access to members that control Operations. |
CoClasses and Classes | Description |
---|---|
RotateOperation (esriArcMapUI) | Operation for handling rotation. |
IRotateOperation inherits from IOperation and allows you to stack a rotation applying to the dataframe in the undo stacks. Use this interface to set all the parameters for the rotation operation before performing the operation using IOperationStack.
Name is the name of the operation as it will appear as Undo in the menu.
ActiveView is the view that will be rotated, usually the focus map.
The PreviousRotation can be read from IDisplayTransformation::Rotation. The display transformation of the active view can be accessed via IActiveView::ScreenDisplay.
Rotation is the new rotation you want to apply to the dataframe.
Refresh is a boolean specify if the view will be refreshed after the operation is performed.