VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationCommentCollectionJS type / contains Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
contains Method
In This Topic
Returns a value indicating whether collection contains an annotation comment.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationCommentCollectionJS(parent);

var value; // Type: boolean

// Parameters
var comment; // Type: WebAnnotationCommentJS

value = instance.contains(comment);

Parameters

comment
An annotation comment that should be searched.

Return Value

True - collection contains comment; otherwise, false.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also