Spread.Sheets Documentation
Comment Constructor
GC.Spread.Sheets.Comments Namespace > Comment class : Comment Constructor
The text of the comment.
Represents a comment.
Syntax
var instance = new GC.Spread.Sheets.Comments.Comment(text);
function Comment( 
   text : any
) : Comment;

Parameters

text
The text of the comment.
Example
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);
comment.autoSize(true);
activeSheet.getCell(5,5).comment(comment);
See Also

Reference

Comment class