ParagraphCollection

ParagraphCollection

Overview

ParagraphCollection is a class in Aspose.Slides FOSS for .NET. Inherits from: ISlideComponent, IParagraphCollection, IEnumerable<IParagraph>.

Represents a collection of paragraphs.

Properties

NameTypeAccessDescription
SlideIBaseSlide?ReadGets the slide that owns this paragraph collection, or null
PresentationIPresentation?ReadGets the presentation containing the owning slide, or null
AsIPresentationComponentIPresentationComponentRead
AsISlideComponentISlideComponentRead
AsIEnumerableIEnumerable<IParagraph>ReadProvides IEnumerable over the collection
CountintRead
IsReadOnlyboolRead

Methods

SignatureDescription
GetParagraphs()A list of paragraphs read from the XML.
Add(value: IParagraph)Inserts the specified IParagraph into the collection
Insert(index: int, value: IParagraph)
Clear()
RemoveAt(index: int)Deletes the paragraph at the specified index
Remove(item: IParagraph)Deletes the first occurrence of the given IParagraph
Contains(item: IParagraph)Checks if the collection includes the specified IParagraph
IndexOf(item: IParagraph)Returns the zero‑based index of the given IParagraph or -1
GetEnumerator()Returns an enumerator for iterating the paragraphs

See Also