SpreadsheetGear 2023
AreaCount Property (IRange)


SpreadsheetGear Namespace > IRange Interface : AreaCount Property
Returns the number of areas in this IRange.
Syntax
'Declaration
 
ReadOnly Property AreaCount As System.Integer
'Usage
 
Dim instance As IRange
Dim value As System.Integer
 
value = instance.AreaCount
System.int AreaCount {get;}
Remarks
IRange.AreaCount and IRange.GetArea(int index) provide the same functionality as IRange.Areas.Count and IRange.Areas[int index] without the overhead of creating an instance of IAreas.
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
Areas Property
GetArea Method
CellCount Property
RowCount Property
ColumnCount Property