SpreadsheetGear 2017
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.
Syntax
'Declaration
 
Property MergeCells As System.Boolean
'Usage
 
Dim instance As IRange
Dim value As System.Boolean
 
instance.MergeCells = value
 
value = instance.MergeCells
System.bool MergeCells {get; set;}
read-write property MergeCells: System.Boolean; 
function get,set MergeCells : System.boolean
__property System.bool get_MergeCells();
__property void set_MergeCells( 
   System.bool value
);
property System.bool MergeCells {
   System.bool get();
   void set (    System.bool value);
}
Remarks
Setting MergeCells to true has the same effect as calling IRange.Merge(). Setting MergeCells to false has the same effect as calling IRange.UnMerge().
Requirements

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

Reference

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