VintaSoft Imaging .NET SDK 12.4: 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);
    
    
    function contains(
    comment
    An annotation comment that should be searched.
    : WebAnnotationCommentJS
    ) : boolean;

    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