## ShapeCollection.CopyCommentsInRange method

انسخ جميع التعليقات الموجودة في النطاق .

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| shapes | ShapeCollection | أشكال المصدر. |
| ca | CellArea | نطاق المصدر. |
| destRow | Int32 | صف بداية النطاق الوجهة. |
| destColumn | Int32 | عمود بداية النطاق المقسم. |

### أمثلة

```csharp

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

// أضف تعليقًا إلى الخلية A1
int commentIndex = comments.Add(0, 0);
Comment comment = comments[commentIndex];
comment.Note = "First note.";
comment.Font.Name = "Times New Roman";

// أضف تعليقًا إلى الخلية 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;

//ينسخ
shapes.CopyCommentsInRange(shapes, area1, 5, 1);

```

### أنظر أيضا

* struct [CellArea](../../../aspose.cells/cellarea)
* class [ShapeCollection](../../shapecollection)
* مساحة الاسم [Aspose.Cells.Drawing](../../shapecollection)
* المجسم [Aspose.Cells](../../../)

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