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

AnnAutomation Constructor(AnnAutomationManager,RasterImageViewer)






The manager to which this AnnAutomation object will belong.
The raster viewer for this AnnAutomation
Initializes a new instance of the AnnAutomation class attached to a LEADTOOLS Leadtools.WinForms.RasterImageViewer.
Syntax
public AnnAutomation( 
   AnnAutomationManager automationManager,
   RasterImageViewer viewer
)
'Declaration
 
Public Function New( _
   ByVal automationManager As AnnAutomationManager, _
   ByVal viewer As RasterImageViewer _
)
'Usage
 
Dim automationManager As AnnAutomationManager
Dim viewer As RasterImageViewer
 
Dim instance As New AnnAutomation(automationManager, viewer)
public AnnAutomation( 
   AnnAutomationManager automationManager,
   RasterImageViewer viewer
)
function AnnAutomation( 
   automationManager ,
   viewer 
)
public:
AnnAutomation( 
   AnnAutomationManager^ automationManager,
   RasterImageViewer^ viewer
)

Parameters

automationManager
The manager to which this AnnAutomation object will belong.
viewer
The raster viewer for this AnnAutomation
Remarks

This constructor creates a new instance of the AnnAutomation class, hooks to the necessary events in viewer 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.

Internally, this method will create a helper object that implements IAnnAutomationControl for viewer and uses an object of this class.

To use automation with your own control instead of the LEADTOOLS Leadtools.WinForms.RasterImageViewer, use AnnAutomation(AnnAutomationManager, IAnnAutomationControl).

Refer to IAnnAutomationControl for an example on how to use LEADTOOLS annotations with your own controls.

Example
For an example, refer to AnnAutomationManager.
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.