SpreadsheetGear The Performance Spreadsheet Component Company 
GetAddress Method
See Also 
SpreadsheetGear Namespace > IRange Interface : GetAddress Method
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).
Returns a string representing the address of the range.

Syntax

C# 
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 Value

The string representing the address of the range.

Requirements

Platforms: Windows Vista, Windows XP, Windows Server 2008, Windows Server 2003, Windows 2000, Windows Me and Windows 98, including 32 bit and 64 bit editions where applicable. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0 (works with .NET 3.x). SpreadsheetGear for .NET 2007 requires the Microsoft .NET Framework 2.0 (works with .NET 3.x).

See Also