SpreadsheetGear Namespace > IRange Interface : ColumnCount Property |
Returns the number of columns in this IRange.
[Visual Basic]
Overridable ReadOnly Property ColumnCount As Integer
[C#]
virtual int ColumnCount {get;}
[C++]
__property virtual int get_ColumnCount();
[C++/CLI]
virtual property int ColumnCount {
int get();
}
If this IRange contains multiple areas, the number of columns in the first area is returned.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IRange Interface | IRange Members | Column Property | Row Property | RowCount Property | AreaCount Property
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.