VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Svg Namespace / WebImageViewerJS type / scrollToPoint Method
X coordinate in image coordinate space.
Y coordinate in image coordinate space.
In This Topic
    scrollToPoint Method
    In This Topic
    Scrolls the viewer to the specified point on viewer and tries to center the specified point in the viewer if possible.
    Syntax
    var instance = new Vintasoft.Imaging.Svg.WebImageViewerJS(controlId);
    var value; // Type: any
    
    // Parameters
    var x; // Type:  number
    var y; // Type:  number
    
    value = instance.scrollToPoint(x, y);
    function scrollToPoint( 
       x : number,
       y : number
    ) : any;

    Parameters

    x
    X coordinate in image coordinate space.
    y
    Y coordinate in image coordinate space.
    Browser Compatibility
    9
    5
    15
    5
    See Also