TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

GetAllComments

GetAllComments() → { Array.<comment> }

Returns all the comments from the document.

Parameters:

This method doesn't have any parameters.

Returns:

Type
Array.<comment>

Example

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