[]
Gets the column after the rightmost column of the specified viewport for the active sheet.
public int GetViewportRightColumn(int columnViewportIndex)
Public Function GetViewportRightColumn(columnViewportIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| int | columnViewportIndex | Viewport column index |
| Type | Description |
|---|---|
| int | The column after the rightmost column of the specified viewport. |
Gets the column after the rightmost column of the specified viewport for the specified sheet.
public int GetViewportRightColumn(int sheetIndex, int columnViewportIndex)
Public Function GetViewportRightColumn(sheetIndex As Integer, columnViewportIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Sheet index |
| int | columnViewportIndex | Viewport column index |
| Type | Description |
|---|---|
| int | The column after the rightmost column of the specified viewport. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |