Spread Windows Forms 12.0 Product Documentation
Merge Method (IRange)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IRange Interface : Merge Method
if set to true, merge cells in each row (or column) of the specified range as separate merged cells.
if set to true, cells are merged by rows; otherwise, cells are merged by columns. It has effect only if across is true.
if set to true, intersected merged cells will be removed; otherwise, they'll be merged.
Creates a merged cell from the specified IRange object.
Syntax
'Declaration
 
Function Merge( _
   Optional ByVal across As Boolean, _
   Optional ByVal vertical As Boolean, _
   Optional ByVal replace As Boolean _
) As Boolean
'Usage
 
Dim instance As IRange
Dim across As Boolean
Dim vertical As Boolean
Dim replace As Boolean
Dim value As Boolean
 
value = instance.Merge(across, vertical, replace)
bool Merge( 
   bool across,
   bool vertical,
   bool replace
)

Parameters

across
if set to true, merge cells in each row (or column) of the specified range as separate merged cells.
vertical
if set to true, cells are merged by rows; otherwise, cells are merged by columns. It has effect only if across is true.
replace
if set to true, intersected merged cells will be removed; otherwise, they'll be merged.

Return Value

An ActionResult<T> value represents the action result.
See Also

Reference

IRange Interface
IRange Members