Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / GetViewportWidth Method / GetViewportWidth(Int32,Int32) Method
Index of the sheet
Index of the viewport column


In This Topic
    GetViewportWidth(Int32,Int32) Method
    In This Topic
    Gets the width of the specified viewport column of the specified sheet.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetViewportWidth( _
       ByVal sheetIndex As Integer, _
       ByVal columnViewportIndex As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As SpreadView
    Dim sheetIndex As Integer
    Dim columnViewportIndex As Integer
    Dim value As Integer
     
    value = instance.GetViewportWidth(sheetIndex, columnViewportIndex)
    public int GetViewportWidth( 
       int sheetIndex,
       int columnViewportIndex
    )

    Parameters

    sheetIndex
    Index of the sheet
    columnViewportIndex
    Index of the viewport column
    Exceptions
    ExceptionDescription
    Specified sheet index is not valid; must be between zero and the number of sheets.
    See Also