The following tables list the members exposed by MergedCellRegions.
Name | Description | |
---|---|---|
AddRegion | Adds a new merged cell region to the sheet based on the specified cell range. Facilitates the merging of multiple cells into a single cell region. | |
GetEnumerator | Overrides Objects.GetEnumerator. | |
GetRegionAt | Retrieves the CellRange representing the merged cell region at the specified index within the sheet. |
|
RemoveRegionAt | Removes a merged cell region from the sheet by its index. Allows for dynamically unmerging cells that were previously merged, aiding in the restructuring or reformatting of the sheet's content. |
Name | Description | |
---|---|---|
Count | Gets the total number of merged cell regions currently defined within the sheet. This property provides a quick way to assess how many distinct merged regions exist, facilitating operations that involve iterating over or managing these regions. |