[]
Gets the index of the active viewport column.
public int GetActiveColumnViewportIndex()
Public Function GetActiveColumnViewportIndex() As Integer
| Type | Description |
|---|---|
| int | The index of the active viewport column |
Gets the index of the active viewport column for the specified sheet.
public int GetActiveColumnViewportIndex(int sheetIndex)
Public Function GetActiveColumnViewportIndex(sheetIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| int | sheetIndex | Sheet index |
| Type | Description |
|---|---|
| int | The index of the active viewport column for the specified sheet. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is not valid; must be between 0 and total number of sheets. |