[]
Specifies whether the object is visible.
Use this enum to indicate whether an element is shown, hidden, or kept very hidden.
public enum Visibility
Public Enum Visibility
IWorksheet detailSheet = workbook.Worksheets.Add();
detailSheet.Name = "Detail";
detailSheet.Visible = Visibility.Hidden;
Visibility currentVisibility = detailSheet.Visible;
| Name | Description |
|---|---|
| Hidden | Specifies to hide the worksheet (which the user can make visible). |
| VeryHidden | Specifies to hide the object so that the only way for you to make it visible again is by setting this property to True (the user cannot make the object visible). |
| Visible | Specifies to display the sheet. |