Show / Hide Table of Contents

Struct CellAddress

Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public struct CellAddress

Constructors

CellAddress(Cell)

Declaration
public CellAddress(Cell c)
Parameters
Type Name Description
Cell c

CellAddress(Boolean, Int32, Boolean, Int32)

Declaration
public CellAddress(bool absoluteRow, int row, bool absoluteColumn, int column)
Parameters
Type Name Description
System.Boolean absoluteRow
System.Int32 row
System.Boolean absoluteColumn
System.Int32 column

CellAddress(Int32, Int32)

Construct a CellAddress based zero based row anc column indexes.

Declaration
public CellAddress(int row, int column)
Parameters
Type Name Description
System.Int32 row
System.Int32 column

Properties

AbsoluteColumn

Declaration
public bool AbsoluteColumn { get; }
Property Value
Type Description
System.Boolean

AbsoluteLabel

Declaration
public string AbsoluteLabel { get; }
Property Value
Type Description
System.String

AbsoluteRow

Declaration
public bool AbsoluteRow { get; }
Property Value
Type Description
System.Boolean

Column

Declaration
public int Column { get; }
Property Value
Type Description
System.Int32

Label

Declaration
public string Label { get; }
Property Value
Type Description
System.String

Row

Declaration
public int Row { get; }
Property Value
Type Description
System.Int32

Methods

ColumnFromName(String)

Declaration
public static int ColumnFromName(string s)
Parameters
Type Name Description
System.String s
Returns
Type Description
System.Int32

Equals(CellAddress)

Declaration
public bool Equals(CellAddress other)
Parameters
Type Name Description
CellAddress other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Parse(String)

Declaration
public static CellAddress Parse(string s)
Parameters
Type Name Description
System.String s
Returns
Type Description
CellAddress

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

TryParse(String, out CellAddress)

Declaration
public static bool TryParse(string s, out CellAddress result)
Parameters
Type Name Description
System.String s
CellAddress result
Returns
Type Description
System.Boolean

Operators

Addition(CellAddress, CellRelativeAddress)

Declaration
public static CellAddress operator +(CellAddress a, CellRelativeAddress b)
Parameters
Type Name Description
CellAddress a
CellRelativeAddress b
Returns
Type Description
CellAddress

Addition(CellAddress, CellSpan)

Declaration
public static CellAddress operator +(CellAddress a, CellSpan b)
Parameters
Type Name Description
CellAddress a
CellSpan b
Returns
Type Description
CellAddress

Equality(CellAddress, CellAddress)

Declaration
public static bool operator ==(CellAddress a, CellAddress b)
Parameters
Type Name Description
CellAddress a
CellAddress b
Returns
Type Description
System.Boolean

Inequality(CellAddress, CellAddress)

Declaration
public static bool operator !=(CellAddress a, CellAddress b)
Parameters
Type Name Description
CellAddress a
CellAddress b
Returns
Type Description
System.Boolean

Subtraction(CellAddress, CellAddress)

Declaration
public static CellRelativeAddress operator -(CellAddress a, CellAddress b)
Parameters
Type Name Description
CellAddress a
CellAddress b
Returns
Type Description
CellRelativeAddress

Subtraction(CellAddress, CellRelativeAddress)

Declaration
public static CellAddress operator -(CellAddress a, CellRelativeAddress b)
Parameters
Type Name Description
CellAddress a
CellRelativeAddress b
Returns
Type Description
CellAddress
Back to top Generated by DocFX