## InsertRange(GridCellArea, GridShiftType) {#insertrange}

插入一系列单元格并根据移位选项移位单元格。

```csharp
public void InsertRange(GridCellArea area, GridShiftType shiftType)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| area | GridCellArea | 转移区域。 |
| shiftType | GridShiftType | 移动单元格选项。 |

### 也可以看看

* class [GridCellArea](../../gridcellarea)
* enum [GridShiftType](../../gridshifttype)
* class [GridCells](../../gridcells)
* 命名空间 [Aspose.Cells.GridWeb.Data](../../gridcells)
* 部件 [Aspose.Cells.GridWeb](../../../)

---

## InsertRange(GridCellArea, int, GridShiftType, bool) {#insertrange_1}

插入一系列单元格并根据移位选项移位单元格。

```csharp
public void InsertRange(GridCellArea area, int shiftNumber, GridShiftType shiftType, 
    bool updateReference)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| area | GridCellArea | 转移区域。 |
| shiftNumber | Int32 | 要插入的行数或列数。 |
| shiftType | GridShiftType | 移动单元格选项。 |
| updateReference | Boolean | 指示是否更新其他工作表中的引用。 |

### 也可以看看

* class [GridCellArea](../../gridcellarea)
* enum [GridShiftType](../../gridshifttype)
* class [GridCells](../../gridcells)
* 命名空间 [Aspose.Cells.GridWeb.Data](../../gridcells)
* 部件 [Aspose.Cells.GridWeb](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
