[]
Sets the active viewport.
public void SetActiveViewport(int rowViewportIndex, int columnViewportIndex)
Public Sub SetActiveViewport(rowViewportIndex As Integer, columnViewportIndex As Integer)
Type | Name | Description |
---|---|---|
int | rowViewportIndex | Viewport row index |
int | columnViewportIndex | Viewport column index |
Sets the active viewport for the specified sheet.
public void SetActiveViewport(int sheetIndex, int rowViewportIndex, int columnViewportIndex)
Public Sub SetActiveViewport(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 0 and total number of sheets. |