Initializes a new instance of the AnnAutomation class attached to a LEADTOOLS Leadtools.WinForms.RasterImageViewer.
public AnnAutomation(
Leadtools.Annotations.AnnAutomationManager automationManager,
Leadtools.Winforms.RasterImageViewer viewer
)
Public Function New( _
ByVal automationManager As Leadtools.Annotations.AnnAutomationManager, _
ByVal viewer As Leadtools.Winforms.RasterImageViewer _
)
public:
AnnAutomation(
Leadtools.Annotations.AnnAutomationManager^ automationManager,
Leadtools.Winforms.RasterImageViewer^ viewer
)
automationManager
The manager to which this AnnAutomation object will belong.
viewer
The raster viewer for this AnnAutomation
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.
For an example, refer to AnnAutomationManager.
Products |
Support |
Feedback: AnnAutomation Constructor(AnnAutomationManager,RasterImageViewer) - Leadtools.Annotations |
Introduction |
Help Version 19.0.2017.6.20
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.