SpreadsheetGear 2023
MergeCells Property (IRange)

SpreadsheetGear Namespace > IRange Interface : MergeCells Property
Gets or sets the property which specifies whether the top left cell of this IRange is merged.
Property MergeCells As System.Boolean
Dim instance As IRange
Dim value As System.Boolean
instance.MergeCells = value
value = instance.MergeCells
System.bool MergeCells {get; set;}
Setting MergeCells to true has the same effect as calling IRange.Merge(). Setting MergeCells to false has the same effect as calling IRange.UnMerge().

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IRange Interface
IRange Members
Merge Method
MergeArea Property
MergeCellsDefined Property
EntireMergeArea Property
UnMerge Method