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

Parameters

value
Whether the comment dynamically moves.

Return Value

If no value is set, returns whether the comment dynamically moves; otherwise, returns the comment.
Example
This example uses the dynamicMove 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

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.