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

NameTypeAccessDescription
countintReadGets the count.

Methods

SignatureDescription
getCount() → intReturns the count.
get(index: int) → CommentCalls get(index) on this CommentCollection instance.
get(cellName: String) → CommentReturns the comment at the given A1-style cell name, or null if none.
add(row: int, column: int) → CommentAdds a comment at the given zero-based row/column.
add(cellName: String) → CommentAdds 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).

See Also

 English