VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / scrollTo Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    scrollTo Method
    In This Topic
    Scrolls the image viewer to the specified point on image viewer.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
    
    var value; // Type: any
    
    // Parameters
    var x; // Type: number
    var y; // Type: number
    
    value = instance.scrollTo(x, y);
    
    
    function scrollTo(
    x
    X coordinate in coordinate space of client area of image viewer.
    : number,
    y
    Y coordinate in coordinate space of client area of image viewer.
    : number
    ) : any;

    Parameters

    x
    X coordinate in coordinate space of client area of image viewer.
    y
    Y coordinate in coordinate space of client area of image viewer.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also