VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebThumbnailViewerJS type / scrollTo Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    scrollTo Method
    In This Topic
    Scrolls the thumbnail viewer to the specified thumbnail.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebThumbnailViewerJS(controlId);
    
    var value; // Type: any
    
    // Parameters
    var index; // Type: number
    
    value = instance.scrollTo(index);
    
    
    function scrollTo(
    index
    Zero-based thumbnail index.
    : number
    ) : any;

    Parameters

    index
    Zero-based thumbnail index.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also