Skip to main content

RemoveComments

Removes the specified comments.

Syntax​

expression.RemoveComments(arrIds);

expression - A variable that represents an Api class.

Parameters​

NameRequired/OptionalData typeDefaultDescription
arrIdsRequiredstring[]An array which contains the IDs of the specified comments.

Returns​

This method doesn't return any data.

Example​

window.Asc.plugin.executeMethod ("RemoveComments", [["1_631", "1_632"]]);