Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / LayoutManager Class / FindMergedCell Method / FindMergedCell(Int32,Int32,Int32,Int32,Reference) Method
An integer value indicates the top row index of the reference.
An integer value indicates the left column index of the reference.
An integer value indicates the bottom row index of the reference.
An integer value indicates the right column index of the reference.
A Reference value represents the unioned reference.


In This Topic
    FindMergedCell(Int32,Int32,Int32,Int32,Reference) Method
    In This Topic
    Finds the unioned reference of all merged cells which intersect with the specified reference.
    Syntax
    'Declaration
     
    
    Public Overloads Function FindMergedCell( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer, _
       ByRef unionedMergedCell As Reference _
    ) As Boolean
    'Usage
     
    
    Dim instance As LayoutManager
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim unionedMergedCell As Reference
    Dim value As Boolean
     
    value = instance.FindMergedCell(row, column, row2, column2, unionedMergedCell)
    public bool FindMergedCell( 
       int row,
       int column,
       int row2,
       int column2,
       out Reference unionedMergedCell
    )

    Parameters

    row
    An integer value indicates the top row index of the reference.
    column
    An integer value indicates the left column index of the reference.
    row2
    An integer value indicates the bottom row index of the reference.
    column2
    An integer value indicates the right column index of the reference.
    unionedMergedCell
    A Reference value represents the unioned reference.

    Return Value

    true if there is at least one intersected merged cell; otherwise, false.
    See Also