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