LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AnnAutomation Constructor(AnnAutomationManager,IAnnAutomationControl)






The manager to which this AnnAutomation object will belong.
The user control for this AnnAutomation
Initializes a new instance of the AnnAutomation class attached to a user control.
Syntax
'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)
function AnnAutomation( 
   automationManager ,
   automationControl 
)

Parameters

automationManager
The manager to which this AnnAutomation object will belong.
automationControl
The user control for this AnnAutomation
Remarks

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).

Example
For an example, refer to IAnnAutomationControl.
Requirements

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

See Also

Reference

AnnAutomation Class
AnnAutomation Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.