Initializes a new instance of the AnnAutomation class.
AnnAutomation = function(automationManager, automationControl)
constructor(automationManager: AnnAutomationManager, automationControl: IAnnAutomationControl);
automationManager
The manager to which this AnnAutomation object will belong. Must not be null.
automationControl
The automation control to use. Must not be null.
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.
For an example, refer to AnnAutomationManager.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET