[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Cell.ToString

ToString Method

ToString()

Gets a string that contains an absolute reference to this cell in the current reference style.

Declaration
public override string ToString()
Public Overrides Function ToString() As String
Returns
Type Description
string
Overrides

ToString(ReferenceStyle)

Gets a string that contains an absolute reference to this cell in the specified reference style.

Declaration
public string ToString(ReferenceStyle referenceStyle)
Public Function ToString(referenceStyle As ReferenceStyle) As String
Parameters
Type Name Description
ReferenceStyle referenceStyle

Style of cell reference

Returns
Type Description
string

ToString(Cell)

Gets a string that contains a relative reference to this cell in the current reference style.

Declaration
public string ToString(Cell relativeTo)
Public Function ToString(relativeTo As Cell) As String
Parameters
Type Name Description
Cell relativeTo

Cell to use for computing the relative reference

Returns
Type Description
string

ToString(Cell, ReferenceStyle)

Gets a string that contains a relative reference to this cell in the specified reference style.

Declaration
public string ToString(Cell relativeTo, ReferenceStyle referenceStyle)
Public Function ToString(relativeTo As Cell, referenceStyle As ReferenceStyle) As String
Parameters
Type Name Description
Cell relativeTo

Cell to use for computing the relative reference

ReferenceStyle referenceStyle

Style of cell reference

Returns
Type Description
string
Exceptions
Type Condition
ArgumentNullException

No cell specified or specified cell (for relative reference) is not valid