VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebTextSelectionToolJS type / set_TextSelectionAutoScrollStep Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    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(
    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.
    : 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
    ExceptionDescription
    Thrown if value is less than 0.
    Browser Compatibility
    56+
    45+
    11
    See Also