VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Svg Namespace / WebAnnotationViewerJS type / scrollTo Method
X coordinate in control coordinate space.
Y coordinate in control coordinate space.
In This Topic
    scrollTo Method
    In This Topic
    Scrolls the viewer to the specified point on 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 control coordinate space.
    y
    Y coordinate in control coordinate space.
    Browser Compatibility
    9
    5
    15
    5
    See Also