Comment
Overview
Comment is a class in Aspose.Cells FOSS for Java.
Represents a cell comment (note).
This class declares 12 methods for Comment objects in Java programs.
Available methods include: getAuthor, getColumn, getHeight, getNote, getRow, getWidth, isVisible, setAuthor, setHeight, setNote, setVisible, setWidth.
Public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: author, column, height, note, row, visible, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
row | int | Read | Zero-based row index of the cell this comment is anchored to. |
column | int | Read | Zero-based column index of the cell this comment is anchored to. |
author | String | Read/Write | Gets or sets the author. |
note | String | Read/Write | Gets or sets the note. |
visible | boolean | Read/Write | Gets or sets the visible. |
width | int | Read/Write | Comment box width in pixels (minimum 1). |
height | int | Read/Write | Comment box height in pixels (minimum 1). |
Methods
| Signature | Description |
|---|---|
getRow() → int | Zero-based row index of the cell this comment is anchored to. |
getColumn() → int | Zero-based column index of the cell this comment is anchored to. |
getAuthor() → String | Returns the author. |
setAuthor(author: String) | Sets the author value. |
getNote() → String | Returns the note. |
setNote(note: String) | Sets the note value. |
isVisible() → boolean | Returns true if visible is set. |
setVisible(visible: boolean) | Sets the visible value. |
getWidth() → int | Comment box width in pixels (minimum 1). |
setWidth(width: int) | Sets the width value. |
getHeight() → int | Comment box height in pixels (minimum 1). |
setHeight(height: int) | Sets the height value. |