ParagraphCollection

ParagraphCollection class

Represents a collection of a paragraphs.

The ParagraphCollection type exposes the following members:

Properties

Name Description
count Gets the number of elements actually contained in the collection.
Read-only
is_read_only Gets a value indicating whether the list is read-only.
Read-only bool.
as_i_slide_component Allows to get base ISlideComponent interface.
Read-only ISlideComponent.
as_i_enumerable Returns IEnumerable interface.
Read-only list.
slide Returns the base slide.
Read-only IBaseSlide.
as_i_presentation_component Allows to get base IPresentationComponent interface.
Read-only IPresentationComponent.
presentation Returns the presentation.
Read-only IPresentation.

Indexer

Name Description
[index] Gets the element at the specified index.

Methods

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

See Also