[]
        
(Showing Draft Content)

GC.Spread.Sheets.Comments.DisplayMode

枚举: DisplayMode

Sheets.Comments.DisplayMode

定义何时显示批注

代码示例

//本示例使用DisplayMode枚举
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

枚举值成员

枚举值成员

alwaysShown

alwaysShown = 1

始终显示批注


hoverShown

hoverShown = 2

仅当指针悬停在批注的所在单元上方时才显示注释