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


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

    Parameters

    columnViewportIndex
    Index of the viewport column
    includeGrayArea
    See Also