IParagraphCollection

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

NameTypeAccessDescription
CountintReadGets the number of elements actually contained in the collection.
AsISlideComponentISlideComponentReadAllows to get base ISlideComponent interface.
AsIEnumerableIEnumerable<IParagraph>ReadReturns IEnumerable{IParagraph} interface.
IsReadOnlyboolReadGets a value indicating whether the collection is read-only.

Methods

SignatureDescription
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.

See Also