RowBlock

RowBlock

Overzicht

RowBlock is een klasse in Aspose.Words FOSS voor Python. Erft van: Block.

Deze klasse biedt 4 methoden voor het werken met RowBlock objecten in Python programma’s. Beschikbare methoden omvatten: __init__, add_child, get_parent. Alle openbare leden zijn toegankelijk voor elke Python applicatie na het installeren van het Aspose.Words FOSS voor Python pakket. Eigenschappen: block_level, children, count, is_first_child, is_header, is_last_child, en nog 4.

Eigenschappen

NaamTypeToegangBeschrijving
countintLezenHaalt het aantal op.
is_header``LezenHaalt de is header op.
is_first_childboolLezenHaalt het is eerste kind op.
is_last_childboolLezenHaalt de IsLastChild op.
next_siblingOptional["Block"]LezenHaalt de volgende sibling op.
previous_siblingOptional["Block"]LezenHaalt de vorige sibling op.
block_levelMarkdownBlockLevelLezenHaalt het blokniveau op.
type``LezenHaalt het type op.
parentOptional["Block"]LezenHaalt de ouder op.
childrenlist["Block"]LezenHaalt de kinderen op.

Methoden

HandtekeningBeschrijving
__init__(is_header: bool)Calls init(is_header) op deze RowBlock instantie.
__init__(block_type: BlockType)Calls init(block_type) op deze RowBlock instantie.
add_child(child: "Block") → "Block"Roept add_child(child) aan op deze RowBlock instantie.
get_parent() → Optional["Block"]Loop de voorouderketen omhoog en retourneer het eerste blok waarvan
    ``type`` is one of *types*, or ``None`` if none matches. |

Zie ook

 Nederlands