[]
Adds a row or column of viewports.
public void AddViewport(int rowViewportIndex, int columnViewportIndex)
Public Sub AddViewport(rowViewportIndex As Integer, columnViewportIndex As Integer)
| Type | Name | Description |
|---|---|---|
| int | rowViewportIndex | Viewport row index |
| int | columnViewportIndex | Viewport column index |
Adds a row or column of viewports.
public void AddViewport(int sheetIndex, int rowViewportIndex, int columnViewportIndex)
Public Sub AddViewport(sheetIndex As Integer, rowViewportIndex As Integer, columnViewportIndex As Integer)
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Index of sheet to which to add viewports |
| int | rowViewportIndex | Viewport row index |
| int | columnViewportIndex | Viewport column index |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is not valid; must be between zero and the number of sheets. |