Skip to content

Struct RangeDefinition

Namespace: OfficeOpenXml.FormulaParsing.Ranges
Assembly: EPPlus.dll

Represents the size of a range

public struct RangeDefinition

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object?, object?)
object.ToString()

Constructors

RangeDefinition(int, short)

Constructor

public RangeDefinition(int nRows, short nCols)

Parameters

nRows int

Number of rows

nCols short

Number of columns

RangeDefinition(short, int, short, int)

Constructor

public RangeDefinition(short fromCol, int fromRow, short toCol, int toRow)

Parameters

fromCol short

From column

fromRow int

From row

toCol short

To column

toRow int

To row

Properties

NumberOfCols

Number of columns in the range

public readonly short NumberOfCols { get; }

Property Value

short

NumberOfRows

Number of rows in the range

public readonly int NumberOfRows { get; }

Property Value

int