See Also

IRange Interface  | IRange Members

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

rowAbsolute
True if the row should be treated as an absolute reference, false otherwise.
colAbsolute
True if the column should be treated as an absolute reference, false otherwise.
referenceStyle
Specfies whether A1 style or R1C1 style should be used.
external
True if the workbook and worksheet should be included in the address, false otherwise.
relativeTo
Represents the cell which this range is relative to. This parameter is unused for A1 style. It may be null to indicate relative to the top-left cell (A1).
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

GetAddress Method

SpreadsheetGear Namespace > IRange Interface : GetAddress Method (IRange)

Returns a string representing the address of the range.

[Visual Basic]
Overridable Function GetAddress( _    ByVal rowAbsolute As Boolean, _    ByVal colAbsolute As Boolean, _    ByVal referenceStyle As ReferenceStyle, _    ByVal external As Boolean, _    ByVal relativeTo As IRange _ ) As String
[C#]
virtual string GetAddress(    bool rowAbsolute,    bool colAbsolute,    ReferenceStyle referenceStyle,    bool external,    IRange relativeTo );
[C++]
virtual string* GetAddress(    bool rowAbsolute,    bool colAbsolute,    ReferenceStyle referenceStyle,    bool external,    IRange* relativeTo )
[C++/CLI]
virtual String^ GetAddress(    bool rowAbsolute,    bool colAbsolute,    ReferenceStyle referenceStyle,    bool external,    IRange^ relativeTo )

Parameters

rowAbsolute
True if the row should be treated as an absolute reference, false otherwise.
colAbsolute
True if the column should be treated as an absolute reference, false otherwise.
referenceStyle
Specfies whether A1 style or R1C1 style should be used.
external
True if the workbook and worksheet should be included in the address, false otherwise.
relativeTo
Represents the cell which this range is relative to. This parameter is unused for A1 style. It may be null to indicate relative to the top-left cell (A1).

Return Type

The string representing the address of the range.

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

 

 


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.