Class ExcelWorksheet.MergeCellsCollection
Collection containing merged cell addresses
Inheritance
System.Object
ExcelWorksheet.MergeCellsCollection
Implements
System.Collections.Generic.IEnumerable<System.String>
System.Collections.IEnumerable
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 MergeCellsCollection : IEnumerable<string>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Indexer for the collection
Declaration
public string this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index in the collection |
Property Value
Type | Description |
---|---|
System.String |
Item[Int32, Int32]
Indexer for the collection
Declaration
public string this[int row, int column] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | The Top row of the merged cells |
System.Int32 | column | The Left column of the merged cells |
Property Value
Type | Description |
---|---|
System.String |
Methods
GetEnumerator()
Gets the enumerator for the collection
Declaration
public IEnumerator<string> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.String> | The enumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable