active Property

Summary

Gets or sets a value indicating whether this AnnAutomation is active.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnAutomation.prototype, 'active', 
	get: function(), 
	set: function(value) 
) 
active: boolean; 

Property Value

true if this AnnAutomation is active; otherwise, it is false.

Remarks

The collection of AnnAutomation objects inside an AnnAutomationManager should have one AnnAutomation object active at any time. The active AnnAutomation object is the object to which all user interface actions are directed.

If the automated annotation application has only one AnnAutomation object, it should set the Active property of this AnnAutomation to true upon initialization. Otherwise, set the Active property of the active AnnAutomation to true.

If the automated annotation application has more than one AnnAutomation, it should set the Active property of the AnnAutomation attached to the currently active form to true.

Setting the Active value of one AnnAutomation in the Automations property to true, will cause the Active property of all other AnnAutomation objects inside this collection to be set to false.

Example

For an example, refer to AnnAutomationManager.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.