[]
Gets the maximum width of the specified viewport column.
public int GetViewportPreferredWidth(int columnViewportIndex)
Public Function GetViewportPreferredWidth(columnViewportIndex As Integer) As Integer
Type | Name | Description |
---|---|---|
int | columnViewportIndex | Column index of viewport |
Type | Description |
---|---|
int |
Gets the maximum width of the specified viewport column for the specified sheet.
public int GetViewportPreferredWidth(int sheetIndex, int columnViewportIndex)
Public Function GetViewportPreferredWidth(sheetIndex As Integer, columnViewportIndex As Integer) As Integer
Type | Description |
---|---|
int |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets |