## ShapeCollection.CopyCommentsInRange method

Copia tutti i commenti nell'intervallo.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| shapes | ShapeCollection | Le forme di origine. |
| ca | CellArea | La gamma di sorgenti. |
| destRow | Int32 | La riga di inizio della gamma più lontana. |
| destColumn | Int32 | La colonna di inizio dell'intervallo più dest. |

### Esempi

```csharp

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

//Aggiungi un commento alla cella A1
int commentIndex = comments.Add(0, 0);
Comment comment = comments[commentIndex];
comment.Note = "First note.";
comment.Font.Name = "Times New Roman";

//Aggiungi un commento alla cella 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;

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

```

### Guarda anche

* struct [CellArea](../../../aspose.cells/cellarea)
* class [ShapeCollection](../../shapecollection)
* spazio dei nomi [Aspose.Cells.Drawing](../../shapecollection)
* assemblea [Aspose.Cells](../../../)

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