Initializes a new instance of the AnnAutomation class attached to a user control.
public AnnAutomation(
AnnAutomationManager automationManager,
IAnnAutomationControl automationControl
)
Public Function New( _
ByVal automationManager As Leadtools.Annotations.AnnAutomationManager, _
ByVal automationControl As Leadtools.Annotations.IAnnAutomationControl _
)
public:
AnnAutomation(
Leadtools.Annotations.AnnAutomationManager^ automationManager,
Leadtools.Annotations.IAnnAutomationControl^ automationControl
)
automationManager
The manager to which this AnnAutomation object will belong.
automationControl
The user control for this AnnAutomation
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).
For an example, refer to IAnnAutomationControl.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET