SpreadsheetGear 2023
ColumnCount Property (IRange)

SpreadsheetGear Namespace > IRange Interface : ColumnCount Property
Returns the number of columns in this IRange.
ReadOnly Property ColumnCount As System.Integer
Dim instance As IRange
Dim value As System.Integer
value = instance.ColumnCount
System.int ColumnCount {get;}
If this IRange contains multiple areas, the number of columns in the first area is returned.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


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