[]
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 | Index of viewport row to add |
| int | columnViewportIndex | Index of viewport column to add |
Adds a row or column of viewports to the specified sheet.
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 | Index of viewport row to add |
| int | columnViewportIndex | Index of viewport column to add |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and total number of sheets |