[]
        
(Showing Draft Content)

GC.Spread.Sheets.Comments.DisplayMode

Enumeration: DisplayMode

Sheets.Comments.DisplayMode

Defines when the comment is displayed.

example

//This example uses the DisplayMode enumeration.
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);
activeSheet.getCell(5,5).comment(comment);

Table of contents

Enumeration members

Enumeration members

alwaysShown

alwaysShown = 1

Specifies that the comment is always displayed.


hoverShown

hoverShown = 2

Specifies that the comment is displayed only when the pointer hovers over the comment's owner cell.