Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / GetPreferredColumnWidth Method / GetPreferredColumnWidth(Int32) Method
Column index


In This Topic
    GetPreferredColumnWidth(Int32) Method
    In This Topic
    Gets the width of the widest cell (based on text content) in the specified column on this sheet.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetPreferredColumnWidth( _
       ByVal column As Integer _
    ) As Single
    'Usage
     
    
    Dim instance As SheetView
    Dim column As Integer
    Dim value As Single
     
    value = instance.GetPreferredColumnWidth(column)
    public float GetPreferredColumnWidth( 
       int column
    )

    Parameters

    column
    Column index
    See Also