StrikethroughBlock
Übersicht
StrikethroughBlock ist eine Klasse in Aspose.Words FOSS für Python. Erbt von: Block.
Diese Klasse bietet 4 Methoden zur Arbeit mit StrikethroughBlock-Objekten in Python-Programmen. Verfügbare Methoden umfassen: __init__, add_child, get_parent. Alle öffentlichen Mitglieder sind für jede Python-Anwendung zugänglich, nachdem das Aspose.Words FOSS für Python-Paket installiert wurde. Eigenschaften: block_level, children, is_first_child, is_last_child, next_sibling, parent und 2 weitere.
Eigenschaften
| Name | Typ | Zugriff | Beschreibung |
|---|---|---|---|
is_first_child | bool | Lesen | Gibt zurück, ob es das erste Kind ist. |
is_last_child | bool | Lesen | Ermittelt, ob es das letzte Kind ist. |
next_sibling | Optional["Block"] | Lesen | Gibt das nächste Geschwisterelement zurück. |
previous_sibling | Optional["Block"] | Lesen | Gibt das vorherige Geschwisterelement zurück. |
block_level | MarkdownBlockLevel | Lesen | Gibt die Blockebene zurück. |
type | `` | Lesen | Ruft den Typ ab. |
parent | Optional["Block"] | Lesen | Gibt das übergeordnete Element zurück. |
children | list["Block"] | Lesen | Liefert die Kinder. |
Methoden
| Signatur | Beschreibung |
|---|---|
__init__() | Calls init bei dieser StrikethroughBlock-Instanz. |
__init__(block_type: BlockType) | Calls init(block_type) bei dieser StrikethroughBlock-Instanz. |
add_child(child: "Block") → "Block" | Ruft add_child(child) bei dieser StrikethroughBlock-Instanz auf. |
get_parent() → Optional["Block"] | Durchlaufe die Vorfahrenkette nach oben und gib den ersten Block zurück, dessen |
``type`` is one of *types*, or ``None`` if none matches. |