Get Started
Usage API

SetVisible

SetVisible(isVisible)

Set Visible of sheet

Parameters:

Name Type Description
isVisible bool

Returns:

This method doesn't return any data.

Example

Copy code
builder.CreateFile("xlsx");
oWorksheet = Api.GetActiveSheet();
oWorksheet.SetVisible(true);
oWorksheet.GetRange("A1").SetValue("The current worksheet is visible.");
builder.SaveFile("xlsx", "SetVisible.xlsx");
builder.CloseFile();

Resulting document