IParagraphCollection
Overview
IParagraphCollection is a interface in Aspose.Slides FOSS for .NET.
Represents a collection of paragraphs.
This interface provides 7 methods for working with IParagraphCollection objects in .NET programs.
Available methods include: Add, Clear, Contains, IndexOf, Insert, Remove, RemoveAt.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: AsIEnumerable, AsISlideComponent, Count, IsReadOnly.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the number of elements actually contained in the collection. |
AsISlideComponent | ISlideComponent | Read | Allows to get base ISlideComponent interface. |
AsIEnumerable | IEnumerable<IParagraph> | Read | Returns IEnumerable{IParagraph} interface. |
IsReadOnly | bool | Read | Gets a value indicating whether the collection is read-only. |
Methods
| Signature | Description |
|---|---|
Add(value: IParagraph) | Adds a paragraph to the end of the collection. |
Insert(index: int, value: IParagraph) | Inserts a paragraph into the collection at the specified index. |
Clear() | Removes all paragraphs from the collection. |
RemoveAt(index: int) | Removes the paragraph at the specified index. |
Remove(item: IParagraph) | Removes the first occurrence of a specific paragraph from the collection. |
Contains(item: IParagraph) | Determines whether the collection contains a specific paragraph. |
IndexOf(item: IParagraph) | Determines the index of a specific paragraph in the collection. |