Spread Windows Forms 11.0 Product Documentation
SetMultipleColumnWidths Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SetMultipleColumnWidths Method
Column index of first column
Number of columns for which to set the width
Width in pixels
Sets the width in pixels for the specified columns on this sheet.
Syntax
'Declaration
 
Public Sub SetMultipleColumnWidths( _
   ByVal column As Integer, _
   ByVal count As Integer, _
   ByVal value As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim column As Integer
Dim count As Integer
Dim value As Integer
 
instance.SetMultipleColumnWidths(column, count, value)
public void SetMultipleColumnWidths( 
   int column,
   int count,
   int value
)

Parameters

column
Column index of first column
count
Number of columns for which to set the width
value
Width in pixels
Example
This example sets the width in pixels for the specified columns.
fpSpread1.ActiveSheet.SetMultipleColumnWidths(0, 2, 80);
FpSpread1.ActiveSheet.SetMultipleColumnWidths(0, 2, 80)
See Also

Reference

SheetView Class
SheetView Members
SetColumnWidth Method

User-Task Documentation

Setting the Row Height or Column Width