[]
Removes a row or column of viewports.
public void RemoveViewport(int rowViewportIndex, int columnViewportIndex)
Public Sub RemoveViewport(rowViewportIndex As Integer, columnViewportIndex As Integer)
| Type | Name | Description |
|---|---|---|
| int | rowViewportIndex | Index of viewport row to remove |
| int | columnViewportIndex | Index of viewport column to remove |
Removes a row or column of viewports.
public void RemoveViewport(int sheetIndex, int rowViewportIndex, int columnViewportIndex)
Public Sub RemoveViewport(sheetIndex As Integer, rowViewportIndex As Integer, columnViewportIndex As Integer)
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Sheet index |
| int | rowViewportIndex | Index of viewport row to remove |
| int | columnViewportIndex | Index of viewport column to remove |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and total number of sheets |