VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationCommentCollectionJS type / set Property
Syntax Exceptions BrowserCompatibility SeeAlso
set Method
Replaces an annotation comment at the specified index.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationCommentCollectionJS(parent);

var value; // Type: any

// Parameters
var index; // Type: number
var comment; // Type: WebAnnotationCommentJS

value = instance.set(index, comment);

Parameters

index
The zero-based index of the annotation comment that should be replaced.
comment
New WebAnnotationCommentJS at the specified index.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Thrown if index is less than zero or index is equal to or greater than collection length.
Thrown if comment already exists in collection.
Browser Compatibility
56+
45+
11
See Also