LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

CancelInactiveDesigners Property

Show in webframe
Gets or sets a value indicating whether any designers in an AnnAutomation are automatically canceled when the automation becomes inactive.
Syntax
get_cancelInactiveDesigners();
set_cancelInactiveDesigners(value);
Object.defineProperty('cancelInactiveDesigners');

Property Value

TypeDescription
booleantrue to automatically cancel all designers in an AnnAutomation when the automation becomes inactive; otherwise, it is false. The default value is true.
Remarks

When multiple AnnAutomation objects are used in the automation, use the AnnAutomation.Active property to set one of the automations as the active one. The active automation will then process all the mouse, touch and keyboard events. The rest of the automations are in an inactive state and will not process any events.

When an automation becomes inactive, it might have designers that are still running, for example, an edit designer selecting an object. By setting the value of CancelInactiveDesigners to true, you can cancel (or abort) all the designers in an inactive automation. This has the effect of causing all currently selected objects in the inactive automation to become de-selected.

See Also

Reference

AnnAutomationManager Object
AnnAutomationManager Members

 

 


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