Show / Hide Table of Contents

Struct CellRelativeAddress

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

Constructors

CellRelativeAddress(CellAddress, CellAddress)

Declaration
public CellRelativeAddress(CellAddress target, CellAddress source)
Parameters
Type Name Description
CellAddress target
CellAddress source

CellRelativeAddress(Int32, Int32)

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

Fields

Column

Declaration
public readonly int Column
Field Value
Type Description
System.Int32

Row

Declaration
public readonly int Row
Field Value
Type Description
System.Int32

Methods

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

ToString()

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

Operators

Addition(CellRelativeAddress, CellRelativeAddress)

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

Subtraction(CellRelativeAddress, CellRelativeAddress)

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