跳到主要内容

GetAllComments

Returns all the comments from the document.

Syntax

expression.GetAllComments();

expression - A variable that represents a Api class.

Parameters

This method doesn't have any parameters.

Returns

comment[]

Example

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