SpreadJS Documentation
dynamicSize Method
Whether the comment is dynamically sized.
Gets or sets whether the comment is dynamically sized.
Syntax
var instance = new GcSpread.Sheets.Comment();
var returnValue; // Type: boolean
returnValue = instance.dynamicSize(value);
function dynamicSize( 
   value : boolean
) : boolean;

Parameters

value
Whether the comment is dynamically sized.

Return Value

Whether the comment is dynamically sized.
Example
This example uses the dynamicSize method.
var comment = new GcSpread.Sheets.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown);
comment.dynamicMove(true);
comment.dynamicSize(true);
activeSheet.setComment(5,5,comment);
See Also

Reference

Comment class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.