ParagraphCollection

ParagraphCollection

अवलोकन

ParagraphCollection Aspose.Slides FOSS में Java के लिए एक क्लास है। Inherits from: BaseCollection<IParagraph>, IParagraphCollection, ISlideComponent.

पैराग्राफ़ों का संग्रह दर्शाता है।

यह क्लास Java प्रोग्रामों में ParagraphCollection ऑब्जेक्ट्स के साथ काम करने के लिए 21 methods प्रदान करती है। उपलब्ध methods में शामिल हैं: ParagraphCollection, add, asIEnumerable, asIPresentationComponent, asISlideComponent, clear, contains, count, get, getParagraphs, getPresentation, getSlide, और 8 अतिरिक्त methods। सभी public members किसी भी Java एप्लिकेशन द्वारा Aspose.Slides FOSS for Java पैकेज स्थापित करने के बाद पहुंच योग्य हैं। गुण: paragraphs, presentation, readOnly, slide.

गुण

नामप्रकारपहुँचविवरण
paragraphsList<IParagraph>पढ़ेंपैराग्राफ़ों की सूची बनाता है और लौटाता है।
readOnlybooleanपढ़ेंकेवल-पढ़ने योग्य प्राप्त करता है।
slideIBaseSlideपढ़ेंस्लाइड प्राप्त करता है।
presentationIPresentationपढ़ेंप्रेज़ेंटेशन प्राप्त करता है।

विधियाँ

हस्ताक्षरविवरण
ParagraphCollection()एक खाली ParagraphCollection बनाता है।
ParagraphCollection(paragraphs: List<IParagraph>)दिए गए प्रारंभिक पैराग्राफ़ों के साथ एक ParagraphCollection बनाता है।
initInternal(txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide) → ParagraphCollectionइस संग्रह को OOXML टेक्स्ट-बॉडी एलिमेंट से प्रारंभ करता है।
getParagraphs() → List<IParagraph>पराग्राफ़ों की सूची बनाता है और लौटाता है।
get(index: int) → IParagraph
size() → int
count() → intपराग्राफ़ों की संख्या लौटाता है (size का उपनाम)
isReadOnly() → booleanयदि read only सेट है तो true लौटाता है।
asISlideComponent() → ISlideComponentसंग्रह को ISlideComponent के रूप में लौटाता है
asIEnumerable() → Iterable<IParagraph>पैराग्राफ़ों पर एक Iterable लौटाता है
asIPresentationComponent() → IPresentationComponentसंग्रह को IPresentationComponent के रूप में लौटाता है
getSlide() → IBaseSlideस्लाइड को लौटाता है।
getPresentation() → IPresentationप्रस्तुति लौटाता है।
add(value: IParagraph)संग्रह के अंत में एक पैराग्राफ जोड़ता है
insert(index: int, value: IParagraph)
indexOf(item: IParagraph) → intदिए गए पैराग्राफ का सूचकांक लौटाता है या यदि अनुपस्थित हो तो -1
contains(item: IParagraph) → booleanयदि संग्रह में निर्दिष्ट पैराग्राफ शामिल है तो true लौटाता है
clear()
removeAt(index: int)दिए गए अनुक्रमणिका पर पैराग्राफ को हटाता है
remove(item: IParagraph) → booleanनिर्दिष्ट पैराग्राफ को हटाता है और सफलता स्थिति लौटाता है
iterator() → Iterator<IParagraph>पैराग्राफों के लिए एक इटरटर प्रदान करता है

यह भी देखें

 हिन्दी