Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
AnnAutomation Constructor
See Also 
Leadtools.Annotations Namespace > AnnAutomation Class : AnnAutomation Constructor




automationManager
The manager to which this AnnAutomation object will belong.
viewer
The raster viewer for this AnnAutomation
Initializes a new instance of the AnnAutomation class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal automationManager As AnnAutomationManager, _
   ByVal viewer As RasterImageViewer _
)
Visual Basic (Usage)Copy Code
Dim automationManager As AnnAutomationManager
Dim viewer As RasterImageViewer
 
Dim instance As AnnAutomation(automationManager, viewer)
C# 
public AnnAutomation( 
   AnnAutomationManager automationManager,
   RasterImageViewer viewer
)
Managed Extensions for C++ 
public: AnnAutomation( 
   AnnAutomationManager* automationManager,
   RasterImageViewer viewer
)
C++/CLI 
public:
AnnAutomation( 
   AnnAutomationManager^ automationManager,
   RasterImageViewer viewer
)

Parameters

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

Example

For an example, refer to AnnAutomationManager.

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 Automations collection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features