VintaSoft Imaging .NET SDK v8.5
get_AnnotationIndex Method
Vintasoft.Imaging.Annotation Namespace > WebAnnotationViewCollectionJS type : get_AnnotationIndex Method
Annotation.
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
11
5
See Also

Reference

WebAnnotationViewCollectionJS type