VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation.Svg Namespace / WebAnnotationViewerJS type / scrollTo Method
X coordinate in the coordinate space of client area of image viewer.
Y coordinate in the coordinate space of client area of image viewer.
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.Annotation.Svg.WebAnnotationViewerJS(controlId);
    var value; // Type: any
    
    // Parameters
    var x; // Type:  number
    var y; // Type:  number
    
    value = instance.scrollTo(x, y);
    function scrollTo( 
       x : number,
       y : number
    ) : any;

    Parameters

    x
    X coordinate in the coordinate space of client area of image viewer.
    y
    Y coordinate in the coordinate space of client area of image viewer.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    9
    5
    15
    5
    See Also