Example #1
0
        public void InsertCells()
        {
            #region radspreadsheet-insert-delete_0

            Workbook  workbook  = new Workbook();
            Worksheet worksheet = workbook.Worksheets.Add();

            CellRange     range     = new CellRange(1, 1, 10, 10);
            CellSelection selection = worksheet.Cells[range];

            if (selection.CanInsertOrRemove(range, ShiftType.Right))
            {
                selection.Insert(InsertShiftType.Right);
            }

            #endregion
        }