[]
        
首页
开发者学堂
文档
论坛
市场
生态机会
活动
立即试用
(Showing Draft Content)

GC.Spread.Sheets.Comments.DisplayMode

Enumeration: DisplayMode

Sheets.Comments.DisplayMode

定义批注的显示时机。

example

//此示例使用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

Enumeration members

Enumeration members

alwaysShown

• alwaysShown = 1

指定批注始终显示。


hoverShown

• hoverShown = 2

指定批注仅在鼠标悬停在批注所属单元格上时显示。