Interface IRangeInfo
- Namespace
- OfficeOpenXml.FormulaParsing
- Assembly
- EPPlus.dll
Information about a specific range used by the formula parser.
public interface IRangeInfo : IAddressInfo, IEnumerator<ICellInfo>, IEnumerator, IDisposable, IEnumerable<ICellInfo>, IEnumerable
- Inherited Members
Properties
Dimension
The worksheet dimension if the range referres to an worksheet address, otherwise the size of the array.
FormulaRangeAddress Dimension { get; }
Property Value
IsEmpty
If the range is empty
bool IsEmpty { get; }
Property Value
IsInMemoryRange
Returns true if the range is not referring to the cell store, but rather keeps the data in memory.
bool IsInMemoryRange { get; }
Property Value
IsMulti
If the range contains more than one cell with a value.
bool IsMulti { get; }
Property Value
IsRef
If the range is not valid and returns #REF!
bool IsRef { get; }
Property Value
Size
Size of the range, i.e. number of Cols and number of Rows
RangeDefinition Size { get; }
Property Value
Worksheet
The worksheet
ExcelWorksheet Worksheet { get; }
Property Value
Methods
GetNCells()
Get number of cells
int GetNCells()
Returns
- int
Number of cells
GetOffset(int, int)
Gets
object GetOffset(int rowOffset, int colOffset)
Parameters
Returns
GetOffset(int, int, int, int)
Get a subrange
IRangeInfo GetOffset(int rowOffsetStart, int colOffsetStart, int rowOffsetEnd, int colOffsetEnd)
Parameters
rowOffsetStart
introw start index from top left
colOffsetStart
intcol start index from top left
rowOffsetEnd
introw end index from top left
colOffsetEnd
intcol end index from top left
Returns
- IRangeInfo
A new range with the requested cell data
GetValue(int, int)
Get the value from a cell
object GetValue(int row, int col)
Parameters
Returns
IsHidden(int, int)
Returns true if the cell is hidden
bool IsHidden(int rowOffset, int colOffset)