Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : CanUndo Property |
public virtual bool CanUndo {get;}
'Declaration
Public Overridable ReadOnly Property CanUndo As Boolean
public virtual bool CanUndo {get;}
public boolean canUndo()
@property (nonatomic,readonly) BOOL canUndo;
get_CanUndo();
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 reapplied using the Redo method. The default for the UndoCapacity property is 10 actions.
For information on undoing or redoing automation operations, refer to Undoing Annotation Automation Operations.
Please note: the Undo operation does not work for the Realize operation that has been performed with the Realize method to realize the an image.