function AnnAutomation( automationManager , automationControl )
Parameter | Type | Description |
---|---|---|
automationManager | AnnAutomationManager | The manager to which this AnnAutomation object will belong. Must not be null. |
automationControl | IAnnAutomationControl | 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 AnnAutomationManager.Automations collection.
This constructor will call Attach.
For an example, refer to AnnAutomationManager.