[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Reference.Overlaps

Overlaps Method

Overlaps(int, int, int, int)

Determines whether this reference overlaps the specified range.

Declaration
public bool Overlaps(int row, int column, int row2, int column2)
Public Function Overlaps(row As Integer, column As Integer, row2 As Integer, column2 As Integer) As Boolean
Parameters
Type Name Description
int row

An integer value indicates the top row index of range reference.

int column

An integer value indicates the left column index of range reference.

int row2

An integer value indicates the bottom row index of range reference.

int column2

An integer value indicates the right column index of range reference.

Returns
Type Description
bool

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

Overlaps(Reference)

Determines whether this reference overlaps the specified range.

Declaration
public bool Overlaps(Reference reference)
Public Function Overlaps(reference As Reference) As Boolean
Parameters
Type Name Description
Reference reference

The range reference.

Returns
Type Description
bool

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