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. | |
GetRegionAt | Retrieves the CellRange representing the merged cell region at the specified index within the sheet. |
|
RemoveRegion | Removes a merged cell region from the sheet. This method allows for dynamically unmerging cells that were previously merged, aiding in the restructuring or reformatting of the sheet's content. | |
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 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. |