Provides support for using the mouse or touch to handle the annotations objects in automation mode.
public class AnnotationsInteractiveMode : ImageViewerInteractiveMode
public:
ref class AnnotationsInteractiveMode : ImageViewerInteractiveMode
The annotations container for each page are stored in the DocumentPage object in the current LEADDocument and can be obtained using the DocumentPage.GetAnnotations method.
When this DocumentViewer is created with the UseAnnotations set to true, An instance of AnnotationsInteractiveMode is initialized and added to the InteractiveModes list of the ImageViewer of the View.
The DocumentViewer will create an internal instance of an object that implements IAnnAutomationControl for handling the automation of the annotations containers for ImageViewer and set it in the AutomationControl property.
At any time, the mode uses hit testing to check whether the mouse or touch event is on an annotation object in design mode, if so, it will set the IsHandled value to true. This allows this mode to work in cooperation with the other interactive modes currently in the view ImageViewer and is only activated when the user hovers over or clicks an annotation object.
Therefore, when annotation support is enabled, this mode is added by the DocumentViewer automatically upon creation. It is always enabled and the user does not have to switch it off for normal operations if annotations support is required. If this support is not needed, then this move can be either disabled (IsEnabled) or removed completely from the InteractiveModes list of ImageViewer.
The mode uses both left and right mouse buttons on operation by default. The mouse button (or touch events) is used to draw new annotations objects or move and resize existing ones. The right click uses hit-testing to invoke the AnnotationsProperties command.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
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.