Comment

Overview

Comment is a class in Aspose.Cells FOSS for Java.

Represents a cell comment (note).

This class provides 12 methods for working with Comment objects in Java programs. Available methods include: getAuthor, getColumn, getHeight, getNote, getRow, getWidth, isVisible, setAuthor, setHeight, setNote, setVisible, setWidth. All exported 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.

Description

Comment is a class in the Aspose.Cells FOSS library for Java that exposes 12 methods and 7 properties for programmatic use.

Core capabilities include: string; string; boolean. These operations enable developers to integrate comment functionality directly into Java applications.

The class also provides the row property (zero-based row index of the cell this comment is anchored to), the column property (zero-based column index of the cell this comment is anchored to), the author property (gets the author).

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.
authorStringReadGets the author.
noteStringReadGets the note.
visiblebooleanReadGets the visible.
widthintReadComment box width in pixels (minimum 1).
heightintReadComment 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