跳到主要内容

GetAllComments

返回文档中的所有批注。

语法

expression.GetAllComments();

expression - 表示 Api 类的变量。

参数

此方法没有任何参数。

返回值

comment[]

示例

window.Asc.plugin.executeMethod ("GetAllComments", null, function (comments) {
Comments = comments;
addComments (comments);
});