ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / AutoSizeCols Method / AutoSizeCols(Int32,Int32,Int32) Method
Left column in the range.
Right column in the range.
Amount of extra space, in pixels, to add to the column widths.

In This Topic
    AutoSizeCols(Int32,Int32,Int32) Method
    In This Topic
    Adjusts the width of columns in a range to fit the data.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub AutoSizeCols( _
       ByVal leftCol As Integer, _
       ByVal rightCol As Integer, _
       ByVal extraSpace As Integer _
    ) 
    public virtual void AutoSizeCols( 
       int leftCol,
       int rightCol,
       int extraSpace
    )

    Parameters

    leftCol
    Left column in the range.
    rightCol
    Right column in the range.
    extraSpace
    Amount of extra space, in pixels, to add to the column widths.
    See Also