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
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the number of Paragraphs in the collection |
is_read_only | bool | Read | Indicates whether the collection cannot be modified |
as_i_slide_component | ISlideComponent | Read | Provides the collection as an ISlideComponent interface |
as_i_enumerable | Any | Read | |
slide | IBaseSlide | Read | References the slide that owns this Paragraph collection |
as_i_presentation_component | IPresentationComponent | Read | |
presentation | IPresentation | Read | References the parent Presentation of the collection |
Mètodes
| Signature | Description |
|---|---|
add() | Appends a new Paragraph to the collection |
insert() | |
index_of(item) → int | Returns the zero‑based index of the given Paragraph, or -1 if not found |
clear() | Removes all Paragraph objects from the collection |
contains(item) → bool | Checks whether a specific Paragraph is present in the collection |
remove_at(index) | Deletes the Paragraph at the given index |
remove(item) → bool | Deletes the specified Paragraph and returns True if successful |