Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / AddSelection Method / AddSelection(CellRange,Boolean) Method
The selected range.
Whether to reset the anchor cell to the top-left corner of the selection area.


In This Topic
    AddSelection(CellRange,Boolean) Method
    In This Topic
    Adds a cell range to the selection.
    Syntax
    'Declaration
     
    Public Overloads Sub AddSelection( _
       ByVal range As CellRange, _
       ByVal moveAnchorCell As Boolean _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim range As CellRange
    Dim moveAnchorCell As Boolean
     
    instance.AddSelection(range, moveAnchorCell)
    public void AddSelection( 
       CellRange range,
       bool moveAnchorCell
    )

    Parameters

    range
    The selected range.
    moveAnchorCell
    Whether to reset the anchor cell to the top-left corner of the selection area.
    See Also