Class NameInfo
- Namespace
- OfficeOpenXml.FormulaParsing.Ranges
- Assembly
- EPPlus.dll
EPPlus implementation of the INameInfo interface
public class NameInfo : INameInfo
- Inheritance
-
NameInfo
- Implements
- Inherited Members
Constructors
NameInfo(ExcelNamedRange)
Nameinfo
public NameInfo(ExcelNamedRange nameItem)
Parameters
nameItem
ExcelNamedRange
Properties
Formula
Formula of the name
public string Formula { get; }
Property Value
Id
Id
public ulong Id { get; }
Property Value
IsRelative
public bool IsRelative { get; }
Property Value
Name
The name
public string Name { get; }
Property Value
Tokens
Tokens
public IList<Token> Tokens { get; }
Property Value
Value
Value
public object Value { get; set; }
Property Value
wsIx
Worksheet name
public int wsIx { get; }
Property Value
Methods
GetRelativeFormula(int, int)
Gets the forumla relative to a row and column.
public string GetRelativeFormula(int row, int col)
Parameters
Returns
GetRelativeRange(IRangeInfo, FormulaCellAddress)
Returns the range relative to the cell for a named range with a relative address.
public IRangeInfo GetRelativeRange(IRangeInfo ri, FormulaCellAddress currentCell)
Parameters
ri
IRangeInfocurrentCell
FormulaCellAddress
Returns
GetValue(FormulaCellAddress)
Get the value relative to the current cell.
public object GetValue(FormulaCellAddress currentCell)
Parameters
currentCell
FormulaCellAddress