ParagraphCollection

ParagraphCollection

Overview

ParagraphCollection is a class in Aspose.Slides FOSS for Python. Inherits from: BaseCollection, IParagraphCollection, ISlideComponent.

Represents a collection of a paragraphs.

Properties

NameTypeAccessDescription
countintReadGets the number of elements actually contained in the collection.
is_read_onlyboolReadGets a value indicating whether the is read-only.
as_i_slide_componentISlideComponentRead
as_i_enumerableAnyRead
slideIBaseSlideReadReferences the slide that owns this paragraph collection
as_i_presentation_componentIPresentationComponentReadReturns the collection as an IPresentationComponent
presentationIPresentationReadGets the presentation that contains the slide owning this collection

Methods

SignatureDescription
add()Appends a new paragraph to the collection
insert()Inserts a paragraph at a specified index
index_of(item)intReturns the zero‑based index of the given paragraph, or -1 if not found
clear()
contains(item)boolChecks whether the specified paragraph exists in the collection
remove_at(index)
remove(item)bool

See Also