## GridCells.CopyRows method

复制某些整行的数据和格式。

```csharp
public void CopyRows(GridCells sourceCells, int sourceRowIndex, int destinationRowIndex, 
    int rowNumber)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| sourceCells | GridCells | 源单元格对象包含要复制的数据和格式。 |
| sourceRowIndex | Int32 | 源行索引。 |
| destinationRowIndex | Int32 | 目标行索引。 |
| rowNumber | Int32 | 复制的行号。 |

### 也可以看看

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

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