## ShapeCollection.CopyCommentsInRange method

Copia todos los comentarios del rango.

```csharp
public void CopyCommentsInRange(ShapeCollection shapes, CellArea ca, int destRow, int destColumn)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| shapes | ShapeCollection | La fuente da forma. |
| ca | CellArea | El rango de la fuente. |
| destRow | Int32 | La fila de inicio del rango dest. |
| destColumn | Int32 | La columna de inicio del rango de destino. |

### Ejemplos

```csharp

[C#]
CommentCollection comments = workbook.Worksheets[0].Comments;

//Añadir comentario a la celda A1
int commentIndex = comments.Add(0, 0);
Comment comment = comments[commentIndex];
comment.Note = "First note.";
comment.Font.Name = "Times New Roman";

//Añadir comentario a la celda B2
comments.Add("B2");
comment = comments["B2"];
comment.Note = "Second note.";

CellArea area1 = new CellArea();
area1.StartColumn = 1;
area1.StartRow = 1;
area1.EndColumn = 5;
area1.EndRow = 4;

//Copiar
shapes.CopyCommentsInRange(shapes, area1, 5, 1);

```

### Ver también

* struct [CellArea](../../../aspose.cells/cellarea)
* class [ShapeCollection](../../shapecollection)
* espacio de nombres [Aspose.Cells.Drawing](../../shapecollection)
* asamblea [Aspose.Cells](../../../)

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