CommentCollection
Overview
CommentCollection is a class in Aspose.Cells FOSS for Java.
Collection of cell comments on a worksheet.
This class declares 7 methods for CommentCollection objects in Java programs.
Available methods include: add, get, getCount, removeAt.
Public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Returns the count. |
get(index: int) → Comment | Calls get(index) on this CommentCollection instance. |
get(cellName: String) → Comment | Returns the comment at the given A1-style cell name, or null if none. |
add(row: int, column: int) → Comment | Adds a comment at the given zero-based row/column. |
add(cellName: String) → Comment | Adds a comment at the given A1-style cell reference. |
removeAt(index: int) | Calls removeAt(index) on this CommentCollection instance. |
removeAt(cellName: String) | Removes the comment at the given cell reference (no-op if none). |