[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Reference.IsIntersected

IsIntersected Method

IsIntersected(int, int, int, int)

Determines whether this reference is intersected with the specified reference.

Declaration
public bool IsIntersected(int row, int column, int row2, int column2)
Public Function IsIntersected(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 intersected; otherwise, false.

IsIntersected(int, int)

Determines whether this reference is intersected with the specified cell.

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

An integer value indicates the top row index of cell.

int column

An integer value indicates the left column index of cell.

Returns
Type Description
bool

true if this reference contains the specified cell; otherwise, false.

IsIntersected(ref Reference)

Determines whether this reference is intersected with the specified reference.

Declaration
public bool IsIntersected(ref Reference reference)
Public Function IsIntersected(ByRef reference As Reference) As Boolean
Parameters
Type Name Description
Reference reference
Returns
Type Description
bool

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