SpreadsheetGear 2023
GetArea Method (IRange)


SpreadsheetGear Namespace > IRange Interface : GetArea Method
Specifies the zero based index of the IRange to return.
Returns the zero based instance of IRange specified by index.
Syntax
'Declaration
 
Function GetArea( _
   ByVal index As System.Integer _
) As IRange
'Usage
 
Dim instance As IRange
Dim index As System.Integer
Dim value As IRange
 
value = instance.GetArea(index)
IRange GetArea( 
   System.int index
)

Parameters

index
Specifies the zero based index of the IRange to return.
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
AreaCount Property
Areas Property