[]
Defines when the comment is displayed.
example
//This example uses the DisplayMode enumeration.
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);
• alwaysShown = 1
Specifies that the comment is always displayed.
• hoverShown = 2
Specifies that the comment is displayed only when the pointer hovers over the comment's owner cell.