ShapeCollection

ShapeCollection

Overview

ShapeCollection यह एक क्लास है Aspose.Slides FOSS के लिए .NET. वारिस से: IShapeCollection.

यह एक आदेशित, परिवर्तनीय संग्रह का प्रतिनिधित्व करता है IShape वस्तुओं के लिए एक स्लाइड या समूह आकार में शामिल हैं।.

इस वर्ग में .NET प्रोग्रामों में ShapeCollection वस्तुओं के साथ काम करने के लिए 22 तरीके प्रदान किए जाते हैं।. उपलब्ध तरीकों में शामिल हैं: AddAutoShape, AddConnector, AddPictureFrame, AddTable, Clear, GetEnumerator, IndexOf, InsertAutoShape, InsertConnector, InsertPictureFrame, InsertTable, Remove,और 4 अतिरिक्त तरीके।. सभी सार्वजनिक सदस्य किसी भी .NET अनुप्रयोग के लिए उपलब्ध हैं Aspose.Slides FOSS को स्थापित करने के बाद .Net पैकेज के साथ।. संपत्ति : AsICollection, AsIEnumerable, Count, ParentGroup.

Properties

NameTypeAccessDescription
ParentGroupIGroupShape?Readमाता-पिता के समूह को प्राप्त करें।.
AsICollectionIList<IShape>Readजैसा कि मैं संग्रह करता हूं।.
AsIEnumerableIEnumerable<IShape>Readजितना मैं सूचीबद्ध कर सकता हूं उतना ही।.
CountintReadगिनती की है।.

Methods

SignatureDescription
ShapeCollection()एक नया उदाहरण ShapeCollection वर्ग के लिए शुरू करता है।.
ToArray()प्रारंभ में शुरू होने वाले आकारों की एक उप-सेट वापस करता हैइंडेक्स
ToArray(startIndex: int, count: int)इस ShapeCollection उदाहरण पर {STARTINDEX, गिनती) कॉल करें।.
Reorder(index: int, shape: IShape)कई आकारों को स्थानांतरित करने के लिए एक निश्चित सूचकांक से शुरू करें
Reorder(index: int, shapes: IShape[])इस ShapeCollection उदाहरण पर Reorder(index, shapes) कॉल करें।.
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float)एक नया AutoShape बनाता है जो अनुरोध किया गया है ShapeType निर्देशों में निर्दिष्ट और आकार के उदाहरण को वापस करता है
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)इस AddAutoShape उदाहरण पर ShapeCollection कॉल करें(shapeType, x, y, width, height, createFromTemplate)।.
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)इस InsertAutoShape उदाहरण पर ShapeCollection कॉल करें(index, shapeType, x, y, width, height, createFromTemplate)।.
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float)एक कनेक्टर जोड़ें, वैकल्पिक रूप से एक टेम्पलेट से
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)इस AddConnector उदाहरण पर ShapeCollection कॉल करें(shapeType, x, y, width, height, createFromTemplate)।.
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)इस InsertConnector उदाहरण पर ShapeCollection कॉल करें(index, shapeType, x, y, width, height, createFromTemplate)।.
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()इस ShapeCollection उदाहरण पर स्पष्ट कॉल करें।.
GetEnumerator()आकारों को इटेरेट करने के लिए एक सूचकांक वापस करता है

See Also

 हिन्दी