Indicates whether mouse wheel is enabled.
Object.defineProperty(InteractiveService.prototype, 'enableMouseWheel',
get: function(),
set: function(value)
)
enableMouseWheel: boolean;
true if mouse wheel is enabled; otherwise, it is false. Default value is true.
When mouse wheel is enabled, the service will fire consecutive DragStarted, DragDelta and DragCompleted events every time the mouse wheel is moved up or down. InteractiveDragEventArgs.Change will contain the mouse wheel delta value in the y value (with x set to 0.
To check if the event was originated from a mouse wheel, use InteractiveDragEventArgs.IsMouseWheel.
Each ImageViewerInteractiveMode can control whether it accepts drag events originated using mouse wheel using IsDragMouseWheelEnabled. If the value of this property is false, the events listed above will not be passed to the mode.
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