跳到主要内容

获取所有批注

返回文档中的所有批注。

语法

expression.GetAllComments();

expression - 一个表示 Api 类的变量。

参数

此方法无参数。

返回值

批注[]

示例

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