var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewCollectionJS(); var value; // Type: number // Parameters var annotation; // Type: WebAnnotationViewJS value = instance.indexOf(annotation);
function indexOf(
annotationWebAnnotationViewJS объект.: WebAnnotationViewJS
) : number;
Parameters
- annotation
- WebAnnotationViewJS объект.
Return Value
Индекс, начинающийся с нуля, аннотации в коллекции, если коллекция содержит аннотацию; в противном случае -1.