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

    Parameters

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