VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation Namespace / WebAnnotationViewControllerJS type / indexOf Method
Annotation to search.
In This Topic
    indexOf Method
    In This Topic
    Returns index of annotation view collection if annotation view is found in annotation view collection.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewControllerJS(images);
    var value; // Type: number
    
    // Parameters
    var annotation; // Type:  object
    
    value = instance.indexOf(annotation);
    function indexOf( 
       annotation : object
    ) : number;

    Parameters

    annotation
    Annotation to search.

    Return Value

    Zero-based index of annotation view collection if annotation view is found in annotation view collection; -1 if annotation is not found.
    Browser Compatibility
    9
    5
    11
    5
    See Also