Spread Silverlight Documentation
ColumnCount Property (ExcelWorksheet)


GrapeCity.Excel Namespace > ExcelWorksheet Class : ColumnCount Property
Get or set the column count.
Syntax
'Declaration
 
Public Property ColumnCount As System.Integer
'Usage
 
Dim instance As ExcelWorksheet
Dim value As System.Integer
 
instance.ColumnCount = value
 
value = instance.ColumnCount
public System.int ColumnCount {get; set;}

Property Value

The int indicate the column count. The default value is 0.
Exceptions
ExceptionDescription
The value is less than 0.
Remarks
If the new value is less than current, all existed ExcelCell which column index is great than new value would be removed; And all existed ExcelColumn which index is great than new value would be removed.
See Also

Reference

ExcelWorksheet Class
ExcelWorksheet Members