SpreadJS Documentation
location Method
The location of the comment.
Gets or sets the location of the comment.
Syntax
var instance = new GcSpread.Sheets.Comment();
var returnValue; // Type: Point
returnValue = instance.location(value);
function location( 
   value : Point
) : Point;

Parameters

value
The location of the comment.

Return Value

The location of the comment.
Example
This example uses the location method.
var comment = new GcSpread.Sheets.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown);
comment.location(new GcSpread.Sheets.Point(10, 10));
activeSheet.setComment(5,5,comment);
See Also

Reference

Comment class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.