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