---
title: "WorksheetCollection.SetVisible"
url: "https://reference.aspose.com/cells/net/aspose.cells.griddesktop/worksheetcollection/setvisible/"
product: "Aspose.Cells for .NET API Reference"
description: "WorksheetCollection method. Sets the visible for the worksheet"
---

## WorksheetCollection.SetVisible method

Sets the visible for the worksheet.

```csharp
public void SetVisible(string name, bool isVisible)
```

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The name of the worksheet |
| isVisible | Boolean | Whether the worksheet is visible |

### See Also

* class [WorksheetCollection](../)
* namespace [Aspose.Cells.GridDesktop](../../../aspose.cells.griddesktop/)
* assembly [Aspose.Cells.GridDesktop](../../../)


