IShapeCollection
Overview
IShapeCollection .NET के लिए Aspose.Slides FOSS में एक इंटरफ़ेस है।. वारिस से: IEnumerable<IShape>.
यह एक आदेशित, परिवर्तनीय संग्रह का प्रतिनिधित्व करता है IShape वस्तुओं के लिए एक स्लाइड या समूह आकार में शामिल हैं।.
यह इंटरफ़ेस .NET प्रोग्राम में IShapeCollection वस्तुओं के साथ काम करने के लिए 20 तरीकों प्रदान करता है।. उपलब्ध तरीकों में शामिल हैं: AddAutoShape, AddConnector, AddPictureFrame, AddTable, Clear, IndexOf, InsertAutoShape, InsertConnector, InsertPictureFrame, InsertTable, Remove, RemoveAt,और दो अतिरिक्त तरीके।. सभी सार्वजनिक सदस्य किसी भी .NET अनुप्रयोग के लिए उपलब्ध हैं Aspose.Slides FOSS को स्थापित करने के बाद .Net पैकेज के साथ।. संपत्ति : AsICollection, AsIEnumerable, Count, ParentGroup.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ParentGroup | IGroupShape? | Read | यह माता-पिता समूह के रूप में प्राप्त करता है जो इस संग्रह का स्वामित्व करता हैं।. |
AsICollection | IList<IShape> | Read | संग्रह को एक जनरल सूची इंटरफ़ेस के रूप में प्रदर्शित करता है।. |
AsIEnumerable | IEnumerable<IShape> | Read | संग्रह को एक सूचीबद्ध इंटरफ़ेस के रूप में प्रदर्शित करता है।. |
Count | int | Read | संग्रह में आकारों की संख्या प्राप्त करें।. |
Methods
| Signature | Description |
|---|---|
ToArray() | संग्रह में सभी आकृतियों को एक नई श्रृंखला के रूप में वापस लाता है।. |
ToArray(startIndex: int, count: int) | यह निर्दिष्ट सूचकांक से शुरू होने वाले आकारों का एक उपसेट वापस करता है।. |
Reorder(index: int, shape: IShape) | संग्रह में निर्दिष्ट स्थिति में एक एकल आकार को स्थानांतरित करता है, जिससे इसकी z-ऑर्डर बदल जाती है।. |
Reorder(index: int, shapes: IShape[]) | कई आकृतियों को स्थानांतरित करता है ताकि वे निर्दिष्ट स्थिति में शुरू हों, उनके रिश्तेदार आदेश को बनाए रखें।. |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float) | एक नया ऑटो आकार बनाता है और इसे संग्रह में जोड़ता हैं।. |
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) | एक नया ऑटो आकार बनाता है और इसे निर्दिष्ट स्थिति में डालता हैं।. |
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) | निर्दिष्ट आकार के शून्य-आधारित सूचकांक को वापस करता है, या -1 यदि नहीं पाया गया।. |
RemoveAt(index: int) | निर्दिष्ट शून्य-आधारित सूचकांक पर आकार को हटा दें।. |
Remove(shape: IShape) | संग्रह से निर्दिष्ट आकार की पहली उपस्थिति को हटा दें।. |
Clear() | संग्रह से सभी आकारों को हटा दें।. |