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


IRotateOperation Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IRotateOperation Interface

Provides access to members that control the Rotate Operation.

Product Availability

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

Members

Description
Write-only property ActiveView The view that is being Rotated.
Read-only property CanRedo Indicates if the operation can be redone.
Read-only property CanUndo Indicates if the operation can be undone.
Method Do Performs the operation.
Read-only property MenuString The menu string.
Write-only property Name The name of this operation, i.e., description of the kind of Rotate.
Write-only property PreviousRotation The previous rotation.
Method Redo Redoes the operation.
Write-only property Refresh Indicates if refresh happens.
Write-only property Rotation The new rotation.
Method Undo Undoes the operation.

Inherited Interfaces

Interfaces Description
IOperation Provides access to members that control Operations.

CoClasses that implement IRotateOperation

CoClasses and Classes Description
RotateOperation (esriArcMapUI) Operation for handling rotation.

Remarks

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.