[]
        
(Showing Draft Content)

GC.Spread.Sheets.Comments.CommentState

枚举: CommentState

Sheets.Comments.CommentState

定义批注状态.

代码示例

//本示例使用了批注状态.
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);
alert(comment.commentState());

Table of contents

枚举值成员

枚举值成员

active

active = 1

指定批注处于活动状态 在活动状态下,批注目前正在被选中 用户可以移动批注的位置或调整批注的大小


edit

edit = 2

指明批注处于编辑状态 批注的编辑状态表示该批注正在被积极修改或更新 当用户正在更改批注的内容时,就会出现这种状态


normal

normal = 3

指定批注处于正常状态 在正常状态下,批注目前未被选中 用户无法与正常状态的批注进行交互 单击批注将把其状态更改为活动状态或编辑状态