Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Reference Structure / Overlaps(Int32,Int32,Int32,Int32) Method
An integer value indicates the top row index of range reference.
An integer value indicates the left column index of range reference.
An integer value indicates the bottom row index of range reference.
An integer value indicates the right column index of range reference.


In This Topic
Overlaps(Int32,Int32,Int32,Int32) Method
In This Topic
Determines whether this reference overlaps the specified range.
Syntax
'Declaration
 
Public Function Overlaps( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal row2 As Integer, _
   ByVal column2 As Integer _
) As Boolean
 
'Usage
 
Dim instance As Reference
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim value As Boolean
 
value = instance.Overlaps(row, column, row2, column2)

Parameters

row
An integer value indicates the top row index of range reference.
column
An integer value indicates the left column index of range reference.
row2
An integer value indicates the bottom row index of range reference.
column2
An integer value indicates the right column index of range reference.

Return Value

true if the specified row is overlapped; otherwise, false.
See Also