ParagraphCollection

General

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

ParagraphCollection') és una classe en Aspose.Slides per a Python. És heretat de: ゚BaseCollection, ⌒IParagraphCollectionヽ, ρ∂ISlideComponent}}` .

Representa una col·lecció de paràgrafs.

Propietats

NameTypeAccessDescription
countintReadGets the number of Paragraphs in the collection
is_read_onlyboolReadIndicates whether the collection cannot be modified
as_i_slide_componentISlideComponentReadProvides the collection as an ISlideComponent interface
as_i_enumerableAnyRead
slideIBaseSlideReadReferences the slide that owns this Paragraph collection
as_i_presentation_componentIPresentationComponentRead
presentationIPresentationReadReferences the parent Presentation of the collection

Mètodes

SignatureDescription
add()Appends a new Paragraph to the collection
insert()
index_of(item)intReturns the zero‑based index of the given Paragraph, or -1 if not found
clear()Removes all Paragraph objects from the collection
contains(item)boolChecks whether a specific Paragraph is present in the collection
remove_at(index)Deletes the Paragraph at the given index
remove(item)boolDeletes the specified Paragraph and returns True if successful
 Català