Struct RangeDefinition
Represents the size of a range
Inherited Members
Namespace: OfficeOpenXml.FormulaParsing.Ranges
Assembly: EPPlus.dll
Syntax
public struct RangeDefinition
Constructors
RangeDefinition(short, int, short, int)
Constructor
Declaration
public RangeDefinition(short fromCol, int fromRow, short toCol, int toRow)
Parameters
| Type | Name | Description |
|---|---|---|
| short | fromCol | From column |
| int | fromRow | From row |
| short | toCol | To column |
| int | toRow | To row |
RangeDefinition(int, short)
Constructor
Declaration
public RangeDefinition(int nRows, short nCols)
Parameters
| Type | Name | Description |
|---|---|---|
| int | nRows | Number of rows |
| short | nCols | Number of columns |
Properties
NumberOfCols
Number of columns in the range
Declaration
public readonly short NumberOfCols { get; }
Property Value
| Type | Description |
|---|---|
| short |
NumberOfRows
Number of rows in the range
Declaration
public readonly int NumberOfRows { get; }
Property Value
| Type | Description |
|---|---|
| int |