public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
-(id) initWithManager:(LTAnnAutomationManager*) automationManager automationControl:(NSObject<LTIAnnAutomationControl>*) automationControl;
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
function AnnAutomation( automationManager , automationControl )
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.FindObjectById.