Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Storages Namespace / MergedCellStorage Class / Find Method / Find(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 GrapeCity.Spreadsheet.Reference value represents the unioned reference.


In This Topic
Find(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 Find( _
   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 MergedCellStorage
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.Find(row, column, row2, column2, 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 GrapeCity.Spreadsheet.Reference value represents the unioned reference.

Return Value

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