---
Product: Aspose.Cells
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/java/CommentModel
---

# CommentModel

## Overview

`CommentModel` is a class in Aspose.Cells FOSS for Java.

Internal model for a cell comment (note).

This class provides 16 methods for working with CommentModel objects in Java programs.
Available methods include: `getAuthor`, `getColumn`, `getHeight`, `getNote`, `getRawVmlShapeXml`, `getRow`, `getWidth`, `isVisible`, `setAuthor`, `setColumn`, `setHeight`, `setNote`, and 4 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: `author`, `column`, `height`, `note`, `rawVmlShapeXml`, `row`, and 2 more.

## Description

`CommentModel` is a class in the Aspose.Cells FOSS library for Java that exposes 16 methods and 8 properties for programmatic use.

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

The class also provides the `row` property (gets the row), the `column` property (gets the column), the `author` property (gets the author).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `row` | `int` | Read | Gets the row. |
| `column` | `int` | Read | Gets the column. |
| `author` | `String` | Read | Gets the author. |
| `note` | `String` | Read | Gets the note. |
| `visible` | `boolean` | Read | Gets the visible. |
| `width` | `int` | Read | Gets the width. |
| `height` | `int` | Read | Gets the height. |
| `rawVmlShapeXml` | `String` | Read | Preserved VML shape XML for round-trip fidelity (may be null for programmatic comments). |

## Methods

| Signature | Description |
|-----------|-------------|
| `getRow()` → `int` | Returns the row. |
| `setRow(row: int)` | Sets the row value. |
| `getColumn()` → `int` | Returns the column. |
| `setColumn(column: int)` | Sets the column value. |
| `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` | Returns the width. |
| `setWidth(width: int)` | Sets the width value. |
| `getHeight()` → `int` | Returns the height. |
| `setHeight(height: int)` | Sets the height value. |
| `getRawVmlShapeXml()` → `String` | Preserved VML shape XML for round-trip fidelity (may be null for programmatic comments). |
| `setRawVmlShapeXml(rawVmlShapeXml: String)` | Sets the raw vml shape xml value. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)
- [Aspose.Cells for Java — Enterprise API Reference](https://reference.aspose.com/cells/java/com.aspose.cells/comment/)