[]
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 column. |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |