LEADTOOLS Annotations (Leadtools.Annotations assembly)

CanUndo Property

Show in webframe





Gets a value indicating whether the user can undo the previous operation performed in this AnnAutomation.
Syntax
public virtual bool CanUndo {get;}
'Declaration
 
Public Overridable ReadOnly Property CanUndo As Boolean
'Usage
 
Dim instance As AnnAutomation
Dim value As Boolean
 
value = instance.CanUndo

            

            
public:
virtual property bool CanUndo {
   bool get();
}

Property Value

true if the user can undo the previous operation performed in this AnnAutomation; otherwise, false.
Remarks
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.

Example
For an example, refer to UndoRedoChanged.
Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.