
## SheetSet class

Describes a set of sheets.

```javascript
class SheetSet;
```


## Constructors

| Constructor | Description |
| --- | --- |
| [constructor(number[])](#constructor-numberarray-)| Creates a sheet set based on exact sheet indexes. |
| [constructor(string[])](#constructor-stringarray-)| Creates a sheet set based on exact sheet names. |

## Properties

| Property | Type | Description |
| --- | --- | --- |
| static [active](#active--)| SheetSet | Readonly. Gets a set with active sheet of the workbook. |
| static [visible](#visible--)| SheetSet | Readonly. Gets a set with visible sheets of the workbook in their original order. |
| static [all](#all--)| SheetSet | Readonly. Gets a set with all sheets of the workbook in their original order. |

## Methods

| Method | Description |
| --- | --- |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |
| static [getActive()](#getActive--)| <b>@deprecated.</b> Please use the 'active' property instead. Gets a set with active sheet of the workbook. |
| static [getVisible()](#getVisible--)| <b>@deprecated.</b> Please use the 'visible' property instead. Gets a set with visible sheets of the workbook in their original order. |
| static [getAll()](#getAll--)| <b>@deprecated.</b> Please use the 'all' property instead. Gets a set with all sheets of the workbook in their original order. |


### constructor(number[]) {#constructor-numberarray-}

Creates a sheet set based on exact sheet indexes.

```javascript
constructor(sheetIndexes: number[]);
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| sheetIndexes | number[] | zero based sheet indexes. |

**Remarks**

If a sheet is encountered that is not in the workbook, an exception will be thrown during rendering.

### constructor(string[]) {#constructor-stringarray-}

Creates a sheet set based on exact sheet names.

```javascript
constructor(sheetNames: string[]);
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| sheetNames | string[] | sheet names. |

**Remarks**

If a sheet is encountered that is not in the workbook, an exception will be thrown during rendering.

### active {#active--}

Readonly. Gets a set with active sheet of the workbook.

```javascript
static active : SheetSet;
```


### visible {#visible--}

Readonly. Gets a set with visible sheets of the workbook in their original order.

```javascript
static visible : SheetSet;
```


### all {#all--}

Readonly. Gets a set with all sheets of the workbook in their original order.

```javascript
static all : SheetSet;
```


### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```


### getActive() {#getActive--}

<b>@deprecated.</b> Please use the 'active' property instead. Gets a set with active sheet of the workbook.

```javascript
static getActive() : SheetSet;
```


**Returns**

[SheetSet](../sheetset/)

### getVisible() {#getVisible--}

<b>@deprecated.</b> Please use the 'visible' property instead. Gets a set with visible sheets of the workbook in their original order.

```javascript
static getVisible() : SheetSet;
```


**Returns**

[SheetSet](../sheetset/)

### getAll() {#getAll--}

<b>@deprecated.</b> Please use the 'all' property instead. Gets a set with all sheets of the workbook in their original order.

```javascript
static getAll() : SheetSet;
```


**Returns**

[SheetSet](../sheetset/)


