IParagraphCollection

IParagraphCollection interface

Represents a collection of a paragraphs.

public interface IParagraphCollection : IEnumerable<IParagraph>, ISlideComponent

Properties

Name Description
AsIEnumerable { get; } Returns IEnumerable interface. Read-only IEnumerable.
AsISlideComponent { get; } Allows to get base ISlideComponent interface. Read-only ISlideComponent.
Count { get; } Gets the number of elements actually contained in the collection. Read-only Int32.
Item { get; } Gets the element at the specified index.

Methods

Name Description
Add(IParagraph) Adds a Paragraph to the end of collection.
Add(IParagraphCollection) Adds a content of ParagraphCollection to the end of collection.
AddFromHtml(string) Adds text from specified html string to the collection.
AddFromHtml(string, IExternalResourceResolver, string) Adds text from specified html string to the collection.
Clear() Removes all elements from the collection.
ExportToHtml(int, int, ITextToHtmlConversionOptions) Converts specifying paragraphs to the HTML and returns it as String object.
Insert(int, IParagraph) Inserts a Paragraph into the collection at the specified index.
Insert(int, IParagraphCollection) Inserts a content of ParagraphCollection into the collection at the specified index.
Remove(IParagraph) Removes the first occurrence of a specific paragraph.
RemoveAt(int) Removes the element at the specified index of the collection.

See Also