VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation Namespace / WebAnnotationViewCollectionJS type / get_AnnotationIndex Method
Annotation.
In This Topic
    get_AnnotationIndex 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:  object
    
    value = instance.get_AnnotationIndex(annotation);
    function get_AnnotationIndex( 
       annotation : object
    ) : number;

    Parameters

    annotation
    Annotation.

    Return Value

    Zero-based index of annotation in collection if collection contains annotation; otherwise, -1.
    Browser Compatibility
    9
    5
    15
    5
    See Also