var instance = new Vintasoft.Imaging.Annotation.UI.Panels.WebUiAnnotationCommentListPanelJS(settings, stateButton); var value; // Type: object // Parameters var annotation; // Type: object var userName; // Type: string value = instance.addComment(annotation, userName);
function addComment(
annotationAn annotation (instance of WebAnnotationViewJS type) that should be commented.: object,
userNameThe name of user, who added the comment.: string
) : object;
Parameters
- annotation
- An annotation (instance of WebAnnotationViewJS type) that should be commented.
- userName
- The name of user, who added the comment.
Return Value
An annotation comment (an instance of WebAnnotationCommentJS type).