Spread.Sheets Documentation
dynamicSize Method
GC.Spread.Sheets.Comments Namespace > Comment class : dynamicSize Method
Whether the comment is dynamically sized.
Gets or sets whether the comment is dynamically sized.
Syntax
var instance = new GC.Spread.Sheets.Comments.Comment(text);
var returnValue; // Type: any
returnValue = instance.dynamicSize(value);
function dynamicSize( 
   value : boolean
) : any;

Parameters

value
Whether the comment is dynamically sized.

Return Value

If no value is set, returns whether the comment is dynamically sized; otherwise, returns the comment.
Example
This example uses the dynamicSize method.
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.dynamicMove(true);
comment.dynamicSize(true);
activeSheet.getCell(5,5).comment(comment);
See Also

Reference

Comment class