VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation Namespace / WebAnnotationViewCollectionJS type / insert Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
insert Method
In This Topic
Inserts annotation view to the collection.
Syntax
var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewCollectionJS();

var value; // Type: any

// Parameters
var index; // Type: number
var annotation; // Type: WebAnnotationViewJS

value = instance.insert(index, annotation);

Parameters

index
Zero-based index in the collection at which the annotation view must be inserted.
annotation
WebAnnotationViewJS to insert.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if index is less than zero or index is greater than collection length.
Thrown if annotation already exists in collection.
Browser Compatibility
56+
45+
11
See Also