Default interactive mode.
Object.defineProperty(ImageViewer.prototype, 'defaultInteractiveMode',
get: function(),
set: function(value)
)
defaultInteractiveMode: ImageViewerInteractiveMode;
The default interactive mode. Default value is null. This value can be null.
The default interactive mode is the item in InteractiveModes that will act first when the user clicks the mouse or presses down using touch and is defined as following:
The value of ImageViewerInteractiveMode.IsEnabled is true.
The value of ImageViewerInteractiveMode.MouseButtons is Left.
When querying the value of DefaultInteractiveMode, the viewer will return the first mode in InteractiveModes that satisfies the conditions above. If no modes satisfies these conditions, then DefaultInteractiveMode will return null.
When setting the value of DefaultInteractiveMode, the viewer will perform the following:
If the passed value is null, then the viewer will try to remove the interactive mode that satisfies the conditions above from InteractiveModes.
Otherwise, the viewer will replace the current default interactive with the value passed by the user. If no default was previously present, then the viewer will add the mode to InteractiveModes.
For more information, refer to Image Viewer Interactive Modes.
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