Comment

Overview

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

Represents a worksheet comment (legacy note) anchored to a single cell. Comments are text annotations attached to cells that provide additional information or context. They are commonly used for review notes, explanations, or collaboration feedback. Comments can be visible or hidden, and can display author information. The comment box size can be customized, and comments support rich text content. var workbook = new Workbook(); var worksheet = workbook.Worksheets[0]; // Add a comment int commentIndex = worksheet.Comments.Add(“A1”); var comment = worksheet.Comments[commentIndex]; comment.Author = “John Doe”; comment.Note = “Please review this data for accuracy.”; comment.IsVisible = true;

Properties: Author, Column, Height, IsVisible, Note, Row, and 1 more.

Description

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

The class also provides the Row property (gets the row), the Column property (gets the column).

Properties

NameTypeAccessDescription
RowintReadGets the row.
ColumnintReadGets the column.
AuthorstringRead/WriteGets or sets the author.
NotestringRead/WriteGets or sets the note.
IsVisibleboolRead/WriteGets or sets the is visible.
WidthintRead/WriteGets or sets the width.
HeightintRead/WriteGets or sets the height.

See Also