VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebThumbnailViewerJS type / set_FocusedIndex Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_FocusedIndex Method
    In This Topic
    Sets an index of focused thumbnail.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebThumbnailViewerJS(controlId);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_FocusedIndex(value);
    
    
    function set_FocusedIndex(
    value
    A zero-based index of focused thumbnail.
    : number
    ) : any;

    Parameters

    value
    A zero-based index of focused thumbnail.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if index is less than -1 or index is equal to or greater than image collection length.
    Browser Compatibility
    56+
    45+
    11
    See Also