set_TextSelectionAutoScrollStep Method
In This Topic
Sets the step value, in pixels, which should be used for auto scrolling in image viewer when text selection is performing in image viewer and mouse cursor is moving outside the image viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebTextSelectionToolJS();
var returnValue; // Type: any
// Parameters
var value; // Type: number
returnValue = instance.set_TextSelectionAutoScrollStep(value);
function set_TextSelectionAutoScrollStep(
: number
) : any;
Parameters
- value
- 0 - image viewer will NOT be scrolled when text selection is performing in image viewer and mouse cursor is moving outside the image viewer;
N - image viewer will be scrolled by N pixels when text selection is performing in image viewer and mouse cursor is moving outside the image viewer.
Exceptions
Exception | Description |
| Thrown if value is less than 0. |
Browser Compatibility
See Also