LineBreakBlock

LineBreakBlock

Overzicht

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

Deze klasse biedt 4 methoden voor het werken met LineBreakBlock objecten in Python programma’s. Beschikbare methoden omvatten: __init__, add_child, get_parent. Alle publieke leden zijn toegankelijk voor elke Python applicatie na het installeren van het Aspose.Words FOSS voor Python pakket. Eigenschappen: block_level, children, is_first_child, is_hard, is_last_child, next_sibling, en 3 extra.

Eigenschappen

NaamTypeToegangBeschrijving
is_hard``LezenHaalt de is hard.
is_first_childboolLezenHaalt de is first child op.
is_last_childboolLezenHaalt de is last child 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_hard: bool)Calls init(is_hard) op deze LineBreakBlock instantie.
__init__(block_type: BlockType)Calls init(block_type) op deze LineBreakBlock instantie.
add_child(child: "Block") → "Block"Roept add_child(child) aan op deze LineBreakBlock instantie.
get_parent() → Optional["Block"]Loop de voorouderketen op en retourneer het eerste blok waarvan
    ``type`` is one of *types*, or ``None`` if none matches. |

Zie ook

 Nederlands