SpreadsheetGear Namespace > IRange Interface : AreaCount Property |
Returns the number of areas in this IRange.
[Visual Basic]
Overridable ReadOnly Property AreaCount As Integer
[C#]
virtual int AreaCount {get;}
[C++]
__property virtual int get_AreaCount();
[C++/CLI]
virtual property int AreaCount {
int get();
}
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.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IRange Interface | IRange Members | Areas Property | GetArea Method
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.