Leadtools.Windows.Annotations Namespace > AnnAutomation Class : CanUndo Property |
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 bool CanUndo {get;}
get_CanUndo();
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 WPF Automation Operations.
Please note that the Undo operation does not work for the Realize operation that has been performed with the RealizeRedaction method to realize the entire image.
For C#/VB examples, refer to UndoRedoChanged.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2