MindFusion.Wpf Pack Programmer's Guide
Worksheet.Merge Method (Int32, Int32, Int32, Int32)
See Also
 





Merges the cells in the specified range into a single cell.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public bool Merge (
    int topLeftColumn,
    int topLeftRow,
    int bottomRightColumn,
    int bottomRightRow
)

Visual Basic  Copy Code

Public Function Merge( _
    topLeftColumn As Integer, _
    topLeftRow As Integer, _
    bottomRightColumn As Integer, _
    bottomRightRow As Integer _
) As Boolean

 Parameters

topLeftColumn

The top-left column of the range of cells.

topLeftRow

The top-left row of the range of cells.

bottomRightColumn

The bottom-right column of the range of cells.

bottomRightRow

The bottom-right row of the range of cells.

 Return Value

true if the merge was successful; otherwise, false.

 Remarks

The merge will fail if the specified range contains only a single cell or if the range intersects with another merged cell.

 See Also

Merge Method Overload List
Worksheet Members
Worksheet Class
MindFusion.Spreadsheet.Wpf Namespace