SpreadsheetControl.SetSelectedRanges Method

Name Parameters Description
SetSelectedRanges(IList<CellRange>) ranges Sets cell ranges selected in the active worksheet.
SetSelectedRanges(IList<CellRange>, Boolean) ranges, expandToMergedCellsSize Selects cell ranges in the worksheet and specifies whether the selection expands to fit merged cells.