GrapeCity.Xaml.Excel
ColumnCount Property (ExcelWorksheet)


Get or set the column count.
Syntax
'Declaration
 
Public Property ColumnCount As Integer
'Usage
 
Dim instance As ExcelWorksheet
Dim value As Integer
 
instance.ColumnCount = value
 
value = instance.ColumnCount
public 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 Server 2012, Windows RT

See Also

Reference

ExcelWorksheet Class
ExcelWorksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options