ViewManager
Manages a workbook’s collection of views. Access via workbook.views.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ViewManager(workbook: Workbook): ViewManager;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
workbook |
Workbook |
Returns
Section titled “Returns”ViewManager
Methods
Section titled “Methods”get(index?: number): WorkbookView | null;Returns the WorkbookView at the given index, or null if it does not exist.
Parameters
Section titled “Parameters”| Parameter | Type | Default value | Description |
|---|---|---|---|
index? |
number |
0 |
Zero-based view index. Defaults to 0 (the only view in typical single-view workbooks). |
Returns
Section titled “Returns”WorkbookView | null