LinkTextBlock
Overview
LinkTextBlock is a class in Aspose.Words FOSS for Python.
Inherits from: Block.
This class provides 4 methods for working with LinkTextBlock objects in Python programs.
Available methods include: __init__, add_child, get_parent.
All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package.
Properties: block_level, children, definition_label, has_destination, is_first_child, is_image, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
has_destination | bool | Read | Gets the has destination. |
uri | `` | Read | Gets the uri. |
title | `` | Read | Gets the title. |
is_image | `` | Read | Gets the is image. |
definition_label | `` | Read | Gets the definition label. |
raw_text | `` | Read | Gets the raw text. |
is_first_child | bool | Read | Gets the is first child. |
is_last_child | bool | Read | Gets the is last child. |
next_sibling | Optional["Block"] | Read | Gets the next sibling. |
previous_sibling | Optional["Block"] | Read | Gets the previous sibling. |
block_level | MarkdownBlockLevel | Read | Gets the block level. |
type | `` | Read | Gets the type. |
parent | Optional["Block"] | Read | Gets the parent. |
children | list["Block"] | Read | Gets the children. |
Methods
| Signature | Description |
|---|---|
__init__(uri: Optional[str], title: str, is_image: bool, definition_label: Optional[str], raw_text: str) | Calls init(uri, title, is_image, definition_label, raw_text) on this LinkTextBlock instance. |
__init__(block_type: BlockType) | Calls init(block_type) on this LinkTextBlock instance. |
add_child(child: "Block") → "Block" | Calls add_child(child) on this LinkTextBlock instance. |
get_parent() → Optional["Block"] | Walk up the ancestor chain and return the first block whose |
``type`` is one of *types*, or ``None`` if none matches. |