See Also

IRange Interface  | IRange Members  | Column Property  | Row Property  | RowCount Property  | AreaCount Property

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

ColumnCount Property

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(); }

Remarks

If this IRange contains multiple areas, the number of columns in the first area is returned.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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.