Spread Windows Forms 12.0 Product Documentation
SetMaximumCellOverflowWidth Method (SpreadView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : SetMaximumCellOverflowWidth Method
Width of cell overflow in pixels
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

Reference

SpreadView Class
SpreadView Members
GetMaximumCellOverflowWidth Method

User-Task Documentation

Allowing Cell Data to Overflow