Method: setDraggingEnabled(true/false)
E.g. ViewONE.setDraggingEnabled(true);
Specifies whether the dragging of the image is permitted or not (using the mouse). Dragging the image to the right pans the image to the right, dragging the image to the left pans the image to the left etc.
A value of ‘true’ (default) indicates dragging is permitted and ‘false’ indicates that it is not
Method: isDraggingEnabled()
E.g. var draggingEnabled = ViewONE.isDraggingEnabled();
Returns a Boolean value of ‘true’ if dragging is allowed else a value ‘false’ is returned.
Method: setBrightness(percent)
E.g. ViewONE.setBrighness(60);
This method sets the brightness of the displayed. The value represents a percentage from
If the document is closed when this method is called, the default for all pages is modified. If the document is open when this method is called, the individual page is modified only.
Method: resetBrightness()
E.g. ViewONE.resetBrighness();
This method resets the brightness level to 50% (the default value).
If the document is closed when this method is called, the default for all pages is modified. If the document is open when this method is called, the individual page is modified only.
44