Click or drag to resize

ExcelCommentText Property

Gets the comment text assigned to excel cell

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
public string Text { get; set; }

Property Value

Type: String
The comment text assigned to excel cell.

Following code demonstrates how to use comments. It shows next features:

  1. comment text setting
  2. comment IsVisible property in action
excelFile.Worksheets[0].Cells[0, 0].Comment.Text = "comment1";
excelFile.Worksheets[0].Cells[0, 0].Comment.IsVisible = false;
See Also