Click or drag to resize
CellRangeMerged Property
Gets or sets whether cells in this range are merged.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1032
Syntax
public virtual bool Merged { get; set; }

Property Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentExceptionMerged range can't be created because some of the cells in the range are already merged.
Remarks

By setting this property to , you are merging all the cells (ExcelCell) in this range. Merging process will fail if any of the cells in the range is already merged.

When modifying merged cell, whole merged range is modified. For example, if you set ExcelCell.Value, value of merged range will be modified. You can find out if the cell is merged by checking if ExcelCell.MergedRange property is different than .

See Also