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

Parameters

value
The opacity of the comment.

Return Value

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

Reference

Comment class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.