DocuVieware Reference Guide
GetMouseMode
Reference Guides > JavaScript API > Actions > Operations > GetMouseMode
 GetMouseMode

This function retrieves the current mouse mode for the specified DocuVieware™ instance.

GetMouseMode: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.

Return Value

The mouse mode the DocVieware™ instance is set on.

Possible values are:

Value Mode
0 Pan
3 Area Selection
4 Marquee Zoom