In This Topic
Returns index of annotation collection if annotation view is found in annotation collection.
Syntax
var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewControllerJS(images);
var value; // Type: number
// Parameters
var annotation; // Type: WebAnnotationViewJS
value = instance.indexOf(annotation);
Parameters
- annotation
- WebAnnotationViewJS object that defines the annotation to search.
Return Value
Zero-based index of annotation collection if annotation view is found in annotation collection; -1 if annotation is not found.
Exceptions
| Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also