VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Shared Namespace / WebImageCollectionJS type / indexOf Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    indexOf Method
    In This Topic
    Gets the index of the specified WebImageJS object.
    Syntax
    var instance = new Vintasoft.Shared.WebImageCollectionJS();
    
    var value; // Type: number
    
    // Parameters
    var image; // Type: WebImageJS
    
    value = instance.indexOf(image);
    
    
    function indexOf(
    image
    The WebImageJS object to search for.
    : WebImageJS
    ) : number;

    Parameters

    image
    The WebImageJS object to search for.

    Return Value

    The zero-based index of the collection, or -1 if the WebImageJS object is not found in the collection.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also