ParagraphCollection class

ParagraphCollection class

Represents a collection of a paragraphs.

The ParagraphCollection type exposes the following members:

Properties

PropertyDescription
countGets the number of elements actually contained in the collection.
Read-only int.
is_read_onlyGets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.
Read-only bool.
slide
presentation

Gets the element at the specified index.

Indexer

NameDescription
[index]

Methods

MethodDescription
add(self, value)Adds a Paragraph to the end of collection.
add(self, value)Adds a content of ParagraphCollection to the end of collection.
insert(self, index, value)Inserts a Paragraph into the collection at the specified index.
insert(self, index, value)Inserts a content of ParagraphCollection into the collection at the specified index.
add_from_html(self, text)Adds text from specified html string to the collection.
add_from_html(self, text, resolver, uri)Adds text from specified html string to the collection.
index_of(self, item)Determines the index of a specific item in the System.Collections.Generic.IList`1.
clear(self)Removes all elements from the collection.
contains(self, item)Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.
copy_to(self, array, array_index)Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
remove_at(self, index)Removes the element at the specified index of the collection.
remove(self, item)Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.
export_to_html(self, first_paragraph_index, paragraphs_count, options)Converts specifying paragraphs to the HTML and returns it as String object.

See Also