ParagraphCollection
General
ParagraphCollection is a class in Aspose.Slides for NET.
Inherits from: ISlideComponent, IParagraphCollection, IEnumerable<IParagraph>.
ParagraphCollection és una classe en Aspose.Slides per NET. És heretat de: ゚ISlideComponent⌒, ゙IParagraphCollectionヽ, \\pLACHEHolding_3}<\Place Halders4>⌒.
Representa una col·lecció de paràgrafs.
Propietats
| 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 slide, or null |
AsIPresentationComponent | IPresentationComponent | Read | |
AsISlideComponent | ISlideComponent | Read | |
AsIEnumerable | IEnumerable<IParagraph> | Read | Provides the collection as IEnumerable |
Count | int | Read | Returns the number of paragraphs in the collection |
IsReadOnly | bool | Read |
Mètodes
| 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) | Inserts the IParagraph at the given index |
Clear() | |
RemoveAt(index: int) | |
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 if absent |
GetEnumerator() | Provides an enumerator for iterating the paragraphs |