See Also

IRange Interface  | IRange Members  | AreaCount Property  | Areas Property

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

index
Specifies the zero based index of the IRange to return.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

GetArea Method

SpreadsheetGear Namespace > IRange Interface : GetArea Method

Returns the zero based instance of IRange specified by index.

[Visual Basic]
Overridable Function GetArea( _    ByVal index As Integer _ ) As IRange
[C#]
virtual IRange GetArea(    int index );
[C++]
virtual IRange* GetArea(    int index )
[C++/CLI]
virtual IRange^ GetArea(    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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IRange Interface  | IRange Members  | AreaCount Property  | Areas Property

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.