LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
AnnAutomation Constructor
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : AnnAutomation Constructor



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

The AnnAutomation Constructor supports WPF/Silverlight.

The AnnAutomation Constructor is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of the AnnAutomation class. Supported in Silverlight, Windows Phone 7

Syntax

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

Parameters

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

Example

For C#/VB examples, 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 AnnAutomationManager.Automations collection.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

AnnAutomation Constructor requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.