Class ExcelCellAddress
- Namespace
- OfficeOpenXml
- Assembly
- EPPlus.dll
A single cell address
public class ExcelCellAddress
- Inheritance
-
ExcelCellAddress
- Inherited Members
Constructors
ExcelCellAddress()
Initializes a new instance of the ExcelCellAddress class.
public ExcelCellAddress()
ExcelCellAddress(int, int, bool, bool)
Initializes a new instance of the ExcelCellAddress class.
public ExcelCellAddress(int row, int column, bool isRowFixed = false, bool isColumnFixed = false)
Parameters
row
intThe row.
column
intThe column.
isRowFixed
boolIf the row is fixed, prefixed with $
isColumnFixed
boolIf the column is fixed, prefixed with $
ExcelCellAddress(string)
Initializes a new instance of the ExcelCellAddress class.
public ExcelCellAddress(string address)
Parameters
address
stringThe address
Properties
Address
Celladdress
public string Address { get; }
Property Value
Column
Column
public int Column { get; }
Property Value
IsColumnFixed
Returns true if the column is fixed
public bool IsColumnFixed { get; }
Property Value
IsRef
If the address is an invalid reference (#REF!)
public bool IsRef { get; }
Property Value
IsRowFixed
Returns true if the row is fixed
public bool IsRowFixed { get; }
Property Value
Row
Row
public int Row { get; }
Property Value
Methods
GetColumnLetter(int)
Returns the letter corresponding to the supplied 1-based column index.
public static string GetColumnLetter(int column)
Parameters
column
intIndex of the column (1-based)
Returns
- string
The corresponding letter, like A for 1.