Class ExcelWorksheet.MergeCellsCollection
Collection containing merged cell addresses
Inheritance
Object
ExcelWorksheet.MergeCellsCollection
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class MergeCellsCollection : IEnumerable<string>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Item[Int32]
Indexer for the collection
Declaration
public string this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index in the collection |
Property Value
| Type | Description |
|---|---|
| String |
Item[Int32, Int32]
Indexer for the collection
Declaration
public string this[int row, int column] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | row | The Top row of the merged cells |
| Int32 | column | The Left column of the merged cells |
Property Value
| Type | Description |
|---|---|
| String |
Methods
GetEnumerator()
Gets the enumerator for the collection
Declaration
public IEnumerator<string> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<String> | The enumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable