VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI.Panels Namespace / WebUiAnnotationCommentListPanelJS type / addStateComment Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
    addStateComment Method
    In This Topic
    Adds the state comment to the annotation comment.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.Panels.WebUiAnnotationCommentListPanelJS(settings, stateButton);
    
    var value; // Type: any
    
    // Parameters
    var comment; // Type: object
    var parent; // Type: object
    var userName; // Type: string
    var status; // Type: string
    
    value = instance.addStateComment(comment, parent, userName, status);
    
    
    function addStateComment(
    comment
    An annotation comment (an instance of WebAnnotationCommentJS type) that is edited.
    : object,
    parent
    An annotation comment (an instance of WebAnnotationCommentJS type) that is a parent comment for the comment that is edited.
    : object,
    userName
    The name of user, who added the reply.
    : string,
    status
    The new state of annotation comment.
    : string
    ) : any;

    Parameters

    comment
    An annotation comment (an instance of WebAnnotationCommentJS type) that is edited.
    parent
    An annotation comment (an instance of WebAnnotationCommentJS type) that is a parent comment for the comment that is edited.
    userName
    The name of user, who added the reply.
    status
    The new state of annotation comment.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Remarks

    This function raises the "stateCommentAdded" event.

    Browser Compatibility
    56+
    45+
    11
    See Also