Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / LayoutManager Class / FindMergedCell Method / FindMergedCell(Int32,Int32,Int32,Int32) 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.


In This Topic
    FindMergedCell(Int32,Int32,Int32,Int32) Method
    In This Topic
    Finds 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 _
    ) As IEnumerable(Of Reference)
    'Usage
     
    
    Dim instance As LayoutManager
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim value As IEnumerable(Of Reference)
     
    value = instance.FindMergedCell(row, column, row2, column2)
    public IEnumerable<Reference> FindMergedCell( 
       int row,
       int column,
       int row2,
       int column2
    )

    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.

    Return Value

    An enumarable object that can enumarate through all merged cells
    See Also