AnnAutomation Constructor

Summary

Initializes a new instance of the AnnAutomation class.

Syntax

JavaScript Syntax
AnnAutomation = function(automationManager, automationControl) 
TypeScript Syntax
constructor(automationManager: AnnAutomationManager, automationControl: IAnnAutomationControl); 

Parameters

automationManager

The manager to which this AnnAutomation object will belong. Must not be null.

automationControl

The automation control to use. Must not be null.

Remarks

This constructor creates a new instance of the AnnAutomation class, hooks to the necessary events in viewer to handle the user interface, creates the AnnContainer that will hold the annotation objects and finally adds this newly created AnnAutomationObject to the Automations collection.

This constructor will call Attach.

Example

For an example, refer to AnnAutomationManager.

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