A collection of instances in a .
Inheritance
Implements
- ICollection<WorksheetMergedCellsRegion>
- IEnumerable<WorksheetMergedCellsRegion>
- IEnumerable
Properties
Section titled "Properties"Count
Section titled "Count"Gets the number of merged cell regions in the collection.
public int Count { get; } this[int]
Section titled "this[int]"Gets the merged cell region at the specified index.
public WorksheetMergedCellsRegion this[int index] { get; } Methods
Section titled "Methods"Add(int, int, int, int)
Section titled "Add(int, int, int, int)"Creates new merged cell region and adds it to the collection.
public WorksheetMergedCellsRegion Add(int firstRow, int firstColumn, int lastRow, int lastColumn) Parameters
- firstRow:
int - firstColumn:
int - lastRow:
int - lastColumn:
int
Returns any
Clear()
Section titled "Clear()"Clears all merged cell regions from the collection.
public void Clear() Returns any
IsOverlappingWithMergedRegion(int, int, int, int)
Section titled "IsOverlappingWithMergedRegion(int, int, int, int)"Checks if any part of specified region is already a part of a merged cell region.
public bool IsOverlappingWithMergedRegion(int firstRow, int firstColumn, int lastRow, int lastColumn) Parameters
- firstRow:
int - firstColumn:
int - lastRow:
int - lastColumn:
int
Returns any
Remove(WorksheetMergedCellsRegion)
Section titled "Remove(WorksheetMergedCellsRegion)"Removes the specified merged cell region from the collection.
public bool Remove(WorksheetMergedCellsRegion region) Parameters
- region:
WorksheetMergedCellsRegion
Returns any
RemoveAt(int)
Section titled "RemoveAt(int)"Removes the merged cell region at the specified index from the collection.
public void RemoveAt(int index) Parameters
- index:
int