SpreadsheetGear 2023
Areas Property (IRange)


SpreadsheetGear Namespace > IRange Interface : Areas Property
Returns an instance of IAreas which represents an array of IRanges where each IRange returned by IAreas represents one cell or range.
Syntax
'Declaration
 
ReadOnly Property Areas As IAreas
'Usage
 
Dim instance As IRange
Dim value As IAreas
 
value = instance.Areas
IAreas Areas {get;}
Remarks

If this IRange contains only a single cell or range, the same single cell or range will be represented by the returned IRange of IArea.

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
AreaCount Property
GetArea Method