[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.RangeReference.IsIntersected

IsIntersected Method

IsIntersected(ref RangeReference)

Determines whether this reference is intersected with the specified reference.

Declaration
public bool IsIntersected(ref RangeReference rangeReference)
Public Function IsIntersected(ByRef rangeReference As RangeReference) As Boolean
Parameters
Type Name Description
RangeReference rangeReference

The range reference.

Returns
Type Description
bool

true if this reference is intersected with the specified reference; otherwise, false.

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 cell range.

int column

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

int row2

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

int column2

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

Returns
Type Description
bool

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