var instance = new Vintasoft.Imaging.Annotation.UI.Panels.WebUiAnnotationCommentListPanelJS(settings, stateButton); var value; // Type: object // Parameters var comment; // Type: object value = instance.getRootComment(comment);
function getRootComment(
commentAn annotation comment (an instance of WebAnnotationCommentJS type).: object
) : object;
Parameters
- comment
- An annotation comment (an instance of WebAnnotationCommentJS type).
Return Value
An instance of WebAnnotationCommentJS type if root comment is found; otherwise, null.