IParagraphCollection Interface

Represents a collection of a paragraphs.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.12.0.0 (21.12)
Syntax
public interface IParagraphCollection : IEnumerable<IParagraph>, 
	IEnumerable, ISlideComponent, IPresentationComponent

The IParagraphCollection type exposes the following members.

Properties
  NameDescription
Public propertyAsIEnumerable
Returns IEnumerable interface. Read-only IEnumerable.
Public propertyAsIPresentationComponent
Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
(Inherited from ISlideComponent.)
Public propertyAsISlideComponent
Allows to get base ISlideComponent interface. Read-only ISlideComponent.
Public propertyCount
Gets the number of elements actually contained in the collection. Read-only Int32.
Public propertyItem
Gets the element at the specified index.
Public propertyPresentation
Returns the presentation. Read-only IPresentation.
(Inherited from IPresentationComponent.)
Public propertySlide
Returns the base slide. Read-only IBaseSlide.
(Inherited from ISlideComponent.)
Methods
  NameDescription
Public methodAdd(IParagraph)
Adds a Paragraph to the end of collection.
Public methodAdd(IParagraphCollection)
Adds a content of ParagraphCollection to the end of collection.
Public methodAddFromHtml(String)
Adds text from specified html string to the collection.
Public methodAddFromHtml(String, IExternalResourceResolver, String)
Adds text from specified html string to the collection.
Public methodClear
Removes all elements from the collection.
Public methodExportToHtml
Converts specifying paragraphs to the HTML and returns it as String object.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIParagraph.)
Public methodInsert(Int32, IParagraph)
Inserts a Paragraph into the collection at the specified index.
Public methodInsert(Int32, IParagraphCollection)
Inserts a content of ParagraphCollection into the collection at the specified index.
Public methodRemove
Removes the first occurrence of a specific paragraph.
Public methodRemoveAt
Removes the element at the specified index of the collection.
See Also