VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation Namespace / WebAnnotationViewCollectionJS type / indexOf Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
indexOf Method
In This Topic
Returns position of specified annotation in collection.
Syntax
var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewCollectionJS();

var value; // Type: number

// Parameters
var annotation; // Type: WebAnnotationViewJS

value = instance.indexOf(annotation);

Parameters

annotation
WebAnnotationViewJS object.

Return Value

Zero-based index of annotation in collection if collection contains annotation; otherwise, -1.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also