Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : Active Property |
public virtual bool Active {get; set;}
'Declaration
Public Overridable Property Active As Boolean
public virtual bool Active {get; set;}
@property (nonatomic) BOOL active;
public boolean getActive() public void setActive(boolean active)
<br/>get_Active();<br/>set_Active(value);<br/>Object.defineProperty('Active');
The collection of AnnAutomation objects inside a 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.
For an example, refer to FindObjectById.