Leadtools.Annotations Namespace > AnnAutomation Class > AnnAutomation Constructor : AnnAutomation Constructor(AnnAutomationManager,IAnnAutomationControl) |
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
'Declaration Public Function New( _ ByVal automationManager As AnnAutomationManager, _ ByVal automationControl As IAnnAutomationControl _ )
'Usage Dim automationManager As AnnAutomationManager Dim automationControl As IAnnAutomationControl Dim instance As New AnnAutomation(automationManager, automationControl)
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
function AnnAutomation( automationManager , automationControl )
public: AnnAutomation( AnnAutomationManager^ automationManager, IAnnAutomationControl^ automationControl )
This constructor creates a new instance of the AnnAutomation class, hooks to the necessary events in automationControl to handle the user interface, creates the Container that will hold the annotation objects and finally adds this newly created AnnAutomationObject to the AnnAutomationManager.Automations collection.
To use an automation control with the LEADTOOLS Leadtools.WinForms.RasterImageViewer class, use AnnAutomation(AnnAutomationManager, RasterImageViewer).
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