Supports user controls with the LEADTOOLS Annotation Automation.
function lt.Annotations.Core.IAnnAutomationControl
class lt.Annotations.Core.IAnnAutomationControl()
IAnnAutomationControl defines and interface that allows you to easily use any control you choose with LEADTOOLS Annotation Automation. By default, the automation framework provides support for using a LEADTOOLS ImageViewer control as the surface where the automation is used.
To perform automation, the toolkit must interact with the control in different ways, for example, obtain information about the control size and resolution, subscribe to the various touch/mouse and keyboard events for user-interface integration, invalidate all or portions of the control surface for re-painting to draw the annotation objects and translate values between annotation and client coordinates.
When the above mode is used, you can use the ImageViewerAutomationControl that comes with the Leadtools.Annotations.[Platform] example project that implements IAnnAutomationControl and provides translation between the methods/properties/events of the interface and those of ImageViewer.
To instead use automation on your own custom control, you must create a class that implements IAnnAutomationControl and pass an instance of this class to AnnAutomation(AnnAutomationManager, IAnnAutomationControl) and optionally to AnnAutomation.Attach and AnnAutomation.Detach if more advantage functionality is required.
IAnnAutomationControl is designed so that you can easily use it to create an automation from an HTML control.
Products |
Support |
Feedback: IAnnAutomationControl Interface - Leadtools.Annotations.Core |
Introduction |
Help Version 19.0.2017.3.21
|
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.