SpreadJS 13
GC.Spread.Sheets Namespace / Range type / intersect Method
The row index.
The column index.
The row count.
The column count.
In This Topic
    intersect Method
    In This Topic
    Gets whether the current range intersects with the one specified by the row and column index and the row and column count.
    Syntax
    var instance = new GC.Spread.Sheets.Range(r, c, rc, cc);
    var value; // Type: boolean
    value = instance.intersect(row, col, rowCount, colCount);
    function intersect( 
       row : number,
       col : number,
       rowCount : number,
       colCount : number
    ) : boolean;

    Parameters

    row
    The row index.
    col
    The column index.
    rowCount
    The row count.
    colCount
    The column count.

    Return Value

    true if the specified range intersects with the current range; otherwise false.
    See Also

    Reference

    Range type