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: 41.3.30.1033
Syntax
public bool IsVisible { get; set; }

Property Value

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

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