Spread Silverlight Documentation
ColumnCount Property (ExcelWorksheet)


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
System.ArgumentOutOfRangeExceptionThe 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.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ExcelWorksheet Class
ExcelWorksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.