SpreadsheetGear 2023
ColumnCount Property (IRange)


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

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

Reference

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