Class ExcelCellAddress
A single cell address
Inheritance
System.Object
ExcelCellAddress
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelCellAddress
Constructors
ExcelCellAddress()
Initializes a new instance of the ExcelCellAddress class.
Declaration
public ExcelCellAddress()
ExcelCellAddress(Int32, Int32)
Initializes a new instance of the ExcelCellAddress class.
Declaration
public ExcelCellAddress(int row, int column)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | The row. |
System.Int32 | column | The column. |
ExcelCellAddress(String)
Initializes a new instance of the ExcelCellAddress class.
Declaration
public ExcelCellAddress(string address)
Parameters
Type | Name | Description |
---|---|---|
System.String | address | The address |
Properties
Address
Celladdress
Declaration
public string Address { get; }
Property Value
Type | Description |
---|---|
System.String |
Column
Column
Declaration
public int Column { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsRef
If the address is an invalid reference (#REF!)
Declaration
public bool IsRef { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Row
Row
Declaration
public int Row { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
GetColumnLetter(Int32)
Returns the letter corresponding to the supplied 1-based column index.
Declaration
public static string GetColumnLetter(int column)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | column | Index of the column (1-based) |
Returns
Type | Description |
---|---|
System.String | The corresponding letter, like A for 1. |