VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiElementStateCollectionJS type / indexOf Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
indexOf Method
In This Topic
Returns the index of the specified WebUiElementStateJS object.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementStateCollectionJS(states);

var value; // Type: number

// Parameters
var state; // Type: WebUiElementStateJS

value = instance.indexOf(state);

Parameters

state
The WebUiElementStateJS object to search for.

Return Value

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