Contains all comments in the main text or another part of a document. All comments are associated with a certain piece of text of the document. The collection consists of Commented
CommentCollection Introduced: 30.0.
| Method | Description |
|---|---|
| add | Creates a comment with the specified comment string. |
| add |
Creates a comment with the specified comment string, start position and length. |
| add |
Creates a reply to an existing comment using the specified comment string. |
| element |
Returns the element at a specified index in the collection.
(Inherited from Collection) |
| for |
Executes a callback function for each element.
(Inherited from Collection) |
| get |
Gets the number of elements contained in the collection.
(Inherited from Collection) |
| get |
Gets the Comment containing the current text input position from the collection. |
| get |
Gets the next comment in the text flow. |
| get |
Gets the previous comment in the text flow. |
| remove | Removes a comment from the collection. |