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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2