A collection of instances in a .

Implements
  • ICollection<WorksheetMergedCellsRegion>
  • IEnumerable<WorksheetMergedCellsRegion>
  • IEnumerable

Gets the number of merged cell regions in the collection.

public int Count { get; }

Gets the merged cell region at the specified index.

public WorksheetMergedCellsRegion this[int index] { get; }

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

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

Removes the specified merged cell region from the collection.

public bool Remove(WorksheetMergedCellsRegion region)

Parameters

  • region: WorksheetMergedCellsRegion

Returns any

Removes the merged cell region at the specified index from the collection.

public void RemoveAt(int index)

Parameters

  • index: int

Returns any