Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / SetMaximumCellOverflowWidth Method
Width of cell overflow in pixels
Example


In This Topic
    SetMaximumCellOverflowWidth Method (SpreadView)
    In This Topic
    Sets the maximum cell overflow width in pixels for cells in the view.
    Syntax
    'Declaration
     
    Public Sub SetMaximumCellOverflowWidth( _
       ByVal width As Integer _
    ) 
    'Usage
     
    Dim instance As SpreadView
    Dim width As Integer
     
    instance.SetMaximumCellOverflowWidth(width)
    public void SetMaximumCellOverflowWidth( 
       int width
    )

    Parameters

    width
    Width of cell overflow in pixels
    Example
    This example uses the SetMaximumCellOverflowWidth method.
    FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
    sv.AllowCellOverflow = true;
    sv.SetMaximumCellOverflowWidth(130);
    listBox1.Items.Add(sv.GetMaximumCellOverflowWidth().ToString());
    Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
    sv.AllowCellOverflow = True
    sv.SetMaximumCellOverflowWidth(130)
    ListBox1.Items.Add(sv.GetMaximumCellOverflowWidth().ToString())
    See Also