SpreadJS Documentation
showShadow Method
Whether the comment displays a shadow.
Gets or sets whether the comment displays a shadow.
Syntax
var instance = new GcSpread.Sheets.Comment();
var returnValue; // Type: boolean
returnValue = instance.showShadow(value);
function showShadow( 
   value : boolean
) : boolean;

Parameters

value
Whether the comment displays a shadow.

Return Value

Whether the comment displays a shadow.
Example
This example uses the showShadow method.
var comment = new GcSpread.Sheets.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown);
comment.borderWidth(2);
comment.borderStyle("dotted");
comment.borderColor("red");
comment.showShadow(true);
activeSheet.setComment(5,5,comment);
activeSheet.isPaintSuspended(true);
activeSheet.isPaintSuspended(false);
See Also

Reference

Comment class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.