Gets or sets the ImageViewerInteractiveMode that the viewer control should use to process mouse wheel events.
public virtual Leadtools.Controls.ImageViewerInteractiveMode MouseWheelInteractiveMode {get; set;}
Public Overridable Property MouseWheelInteractiveMode As Leadtools.Controls.ImageViewerInteractiveMode
public virtual Leadtools.Controls.ImageViewerInteractiveMode MouseWheelInteractiveMode {get; set;}
macOS Only
@property (nonatomic, strong, nullable) LTImageViewerInteractiveMode *mouseWheelInteractiveMode
get_MouseWheelInteractiveMode();
set_MouseWheelInteractiveMode(value);
Object.defineProperty('MouseWheelInteractiveMode');
The interactive mode for mouse wheel events in the viewer control. The default value is null.
The current InteractiveService will convert mouse wheel events to DragStarted/ InteractiveService.DragDelta%InteractiveService.DragCompleted:E:Leadtools.Controls.InteractiveService.DragCompleted% events. For example, ImageViewerPanZoomInteractiveMode does not need to do anything special to handle mouse wheel events since it already subscribes to these events and you can set an instance of this class directly in MouseWheelInteractiveMode.
To use an interactive mode, you create an instance of any of the derived classes and assign it to the viewer using one of the following methods:
ImageViewer.DefaultInteractiveMode: Assigns the interactive mode to be set as the default one.
ImageViewer.TouchInteractiveMode: Assigns the interactive mode in devices that support touch.
ImageViewer.MouseWheelInteractiveMode: Assigns the interactive mode to the mouse wheel.
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