Visual Basic (Declaration) | |
---|---|
Public Overridable ReadOnly Property CanUndo As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual bool CanUndo {get;} |
Return Value
true if the user can undo the previous operation performed in this AnnAutomation; otherwise, false.For an example, refer to UndoRedoChanged.
(Read only) If this property value is true, you can call Undo to undo the previous operation performed in this AnnAutomation. You can use this property to update your user interface; for example, to enable/disable an Undo menu item.
Use the UndoCapacity property to get or set the number of user actions that can be reversed using the Undo method, or re-applied using the Redo method. The default for the UndoCapacity property is 10 actions.
For more information, refer to Undoing Automation Operations.
Please note that the Undo operation does not work for the Realize operation that has been performed with the Realize method to realize the entire image.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family