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

NameTypeAccessDescription
rowintReadZero-based row index of the cell this comment is anchored to.
columnintReadZero-based column index of the cell this comment is anchored to.
authorStringRead/WriteGets or sets the author.
noteStringRead/WriteGets or sets the note.
visiblebooleanRead/WriteGets or sets the visible.
widthintRead/WriteComment box width in pixels (minimum 1).
heightintRead/WriteComment box height in pixels (minimum 1).

Methods

SignatureDescription
getRow() → intZero-based row index of the cell this comment is anchored to.
getColumn() → intZero-based column index of the cell this comment is anchored to.
getAuthor() → StringReturns the author.
setAuthor(author: String)Sets the author value.
getNote() → StringReturns the note.
setNote(note: String)Sets the note value.
isVisible() → booleanReturns true if visible is set.
setVisible(visible: boolean)Sets the visible value.
getWidth() → intComment box width in pixels (minimum 1).
setWidth(width: int)Sets the width value.
getHeight() → intComment box height in pixels (minimum 1).
setHeight(height: int)Sets the height value.

See Also

 English