ChartCollection (مُحملة مكان)
المعلومات العامة
ShapeCollection هي فئة في Aspose.Slides لـ NET. الميراث من: IShapeCollection.
يمثل مجموعة مرتبة ومتغيرة من الكائنات التي تنتمي إلى شكل الشريحة أو المجموعة. يلف عنصر <p: spTree> XML ويوفر الوصول المتحمل في التخزين المؤقت ، المدعوم بالذاكرة المؤقّفة لملفات الشكل .
خصائص
| اسم | النوع | الوصول | وصف |
|---|---|---|---|
ParentGroup | IGroupShape? | اقرأ | يحصل على أو يحدد شكل المجموعة التي تحتوي على هذا المجمع |
AsICollection | IList<IShape> | اقرأ | يقدم المجموعة كـ IList من IShape |
AsIEnumerable | IEnumerable<IShape> | اقرأ | يقدم المجموعة كـ IEnumerable من IShape |
Count | int | اقرأ | يحصل على عدد الأشكال في المجموعة. |
الطرق
| التوقيع | وصف |
|---|---|
ShapeCollection() | يُنشئ ShapeCollection فارغ جديد |
ToArray() | يعيد صف فرعي يبدأ في startIndex مع عناصر العد |
ToArray(startIndex: int, count: int) | |
Reorder(index: int, shape: IShape) | ينقل المصفوفة من الأشكال لبدء في المؤشر المعطى |
Reorder(index: int, shapes: IShape[]) | |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float) | يخلق ويقوم بإضافة AutoShape من النوع والبُعَاد المحددين. |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | يضيف AutoShape جديد في المؤشر، إمكانية استخدام قالب |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float) | يخلق ويقوم بإضافة شكل موصل من النوع والبُعَاد المحددة. |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
AddPictureFrame(shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | يضيف شكل إطار الصورة مع الصور المقدمة |
InsertPictureFrame(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | |
AddTable(x: float, y: float, columnWidths: double[], rowHeights: double[]) | يضيف جدول في الموقع مع عرض العمود والارتفاعات الصفوف محددة |
InsertTable(index: int, x: float, y: float, columnWidths: double[], rowHeights: double[]) | يضيف جدول في المؤشر مع الموقع المعين والأبعاد. |
IndexOf(shape: IShape) | يعيد المؤشر القائم على الصفر للشكل المحدد. |
RemoveAt(index: int) | يزيل الشكل في المؤشر المحدد |
Remove(shape: IShape) | إزالة الشكل المحدد من المجموعة |
Clear() | |
GetEnumerator() | يعيد عدد للقيام بتكرار الأشكال |