GcSpread.Sheets Namespace > Comment class : padding Method |
var instance = new GcSpread.Sheets.Comment(); var returnValue; // Type: Padding returnValue = instance.padding(value);
var comment = new GcSpread.Sheets.Comment(); comment.text("new comment!"); comment.backColor("yellow"); comment.foreColor("green"); comment.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown); comment.padding(new GcSpread.Sheets.Padding(2, 2, 2, 2)); activeSheet.setComment(5,5,comment);