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);
function insert(
: number,
: WebAnnotationViewJS
) : any;
Parameters
- index
- Zero-based index in the collection at which the annotation view must be inserted.
- annotation
- WebAnnotationViewJS to insert.
Exceptions
Exception | Description |
| 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
See Also