var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewCollectionJS(); var value; // Type: number // Parameters var annotation; // Type: WebAnnotationViewJS value = instance.indexOf(annotation);
function indexOf(
annotationWebAnnotationViewJS object.: WebAnnotationViewJS
) : number;
Parameters
- annotation
- WebAnnotationViewJS object.
Return Value
Zero-based index of annotation in collection if collection contains annotation; otherwise, -1.