Click or drag to resize
ExcelCommentIsVisible Property
Gets or sets a value indicating whether this instance is visible.

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

Property Value

Type: Boolean
if this instance is visible; otherwise, .

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