ParagraphCollection
Overview
ParagraphCollection is a class in Aspose.Slides FOSS for .NET.
Inherits from: ISlideComponent, IParagraphCollection, IEnumerable<IParagraph>.
Represents a collection of paragraphs.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Slide | IBaseSlide? | Read | Gets the slide that owns this paragraph collection, or null |
Presentation | IPresentation? | Read | Gets the presentation containing the owning slide, or null |
AsIPresentationComponent | IPresentationComponent | Read | |
AsISlideComponent | ISlideComponent | Read | |
AsIEnumerable | IEnumerable<IParagraph> | Read | Provides IEnumerable |
Count | int | Read | |
IsReadOnly | bool | Read |
Methods
| Signature | Description |
|---|---|
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 |