←Select platform

GetMouseInteractiveMode Method

Summary

Gets the current ImageViewerInteractiveMode assigned to the specified MouseButton.

Syntax

C#
VB
Objective-C
Public Overridable Function GetMouseInteractiveMode( _ 
   ByVal button As Leadtools.Controls.LTMouseButton _ 
) As Leadtools.Controls.ImageViewerInteractiveMode 
macOS Only 
- (nullable LTImageViewerInteractiveMode *)mouseInteractiveModeForButton:(LTMouseButton)mouseButton 

Parameters

button
The mouse button to query.

Return Value

The current interactive mode assigned to the button.

Remarks

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:

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.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)