canUndo Property

Summary

Gets a value that indicates whether the user can undo the previous operation performed in this AnnAutomation.

Syntax

JavaScript Syntax
Object.defineProperty(AnnAutomation.prototype, 'canUndo', 
	get: function() 
) 
TypeScript Syntax
canUndo: boolean; // read-only 

Property Value

true if the user can undo the previous operation performed in this AnnAutomation; otherwise, it is false.

Remarks

If this property value is true, you can call Undo to undo the previous operation performed in this AnnAutomation. 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.

Note: The Undo operation does not work for a Realize operation that has been performed with the Realize method to realize the an image.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly