Gets the current ImageViewerInteractiveMode assigned to the specified MouseButton.
public virtual Leadtools.Controls.ImageViewerInteractiveMode GetMouseInteractiveMode(
Leadtools.Controls.LTMouseButton button
)
Public Overridable Function GetMouseInteractiveMode( _
ByVal button As Leadtools.Controls.LTMouseButton _
) As Leadtools.Controls.ImageViewerInteractiveMode
macOS Only
- (nullable LTImageViewerInteractiveMode *)mouseInteractiveModeForButton:(LTMouseButton)mouseButton
button
The mouse button to query.
The current interactive mode assigned to the button.
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 the left mouse button on desktop browsers or default touch events on devices that support touch.
ImageViewer.TouchInteractiveMode: Assigns the interactive mode in devices that support touch.
ImageViewer.SetMouseInteractiveMode: Assigns the interactive mode to the specified mouse button on desktop browsers.
ImageViewer.MouseWheelInteractiveMode: Assigns the interactive mode to the mouse wheel on desktop browsers.
On desktop browsers, you can use multiple interactive modes at the same time. For example, you can use the following code to support panning/zooming with the left mouse button and magnify glass with the right button.
On browsers that support only touch, such as mobile phones and tablets, you can use only one interactive mode at a time. This does not mean only one finger touch is supported, some of the interactive modes such as ImageViewerPanZoomInteractiveMode supports multiple touch operations such as pinch to zoom.
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.