[]
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 | Viewport row index |
int | columnViewportIndex | Viewport column index |
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 | 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. |