Spread.Sheets Documentation
CommentState Field
GC.Spread.Sheets Namespace > Comments type : CommentState Field
Defines the comment state.
Syntax
var value; // Type: CommentState
value = GC.Spread.Sheets.Comments.CommentState;
var CommentState : CommentState;
Example
//This example gets the comment state.
var comment = new GC.Spread.Sheets.Comments.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GC.Spread.Sheets.Comments.DisplayMode.alwaysShown);
activeSheet.getCell(5,5).comment(comment);
alert(comment.commentState());
See Also

Reference

Comments type