[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.GetAddress

GetAddress Method

GetAddress(bool, bool, ReferenceStyle, IRange)

Returns a string value that represents the range reference. If all parameters are omitted, the return value is equal to the Address property.

Declaration
string GetAddress(bool rowAbsolute = true, bool columnAbsolute = true, ReferenceStyle referenceStyle = ReferenceStyle.A1, IRange relativeTo = null)
Function GetAddress(Optional rowAbsolute As Boolean = True, Optional columnAbsolute As Boolean = True, Optional referenceStyle As ReferenceStyle = ReferenceStyle.A1, Optional relativeTo As IRange = Nothing) As String
Parameters
Type Name Description
bool rowAbsolute

True to return the row part of the reference as an absolute reference.

bool columnAbsolute

True to return the column part of the reference as an absolute reference.

ReferenceStyle referenceStyle

The reference style.

IRange relativeTo

If RowAbsolute and ColumnAbsolute are False, and ReferenceStyle is R1C1, defines a starting point for the relative reference. The default reference is $A$1.

Returns
Type Description
string