ExtractedBlock
Overview
ExtractedBlock is a class in Aspose.PDF FOSS for Python.
A detached heading, paragraph, list, table or figure in reading order.
This class declares 2 methods for ExtractedBlock objects in Python programs.
Available methods include: __post_init__, to_dict.
Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: alt, column_spans, image, items, kind, level, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
page_index | int | Read | Gets the page index. |
kind | str | Read | Gets the kind. |
x | float | Read | Gets the x. |
y | float | Read | Gets the y. |
text | str | Read | Gets the text. |
level | int | Read | Gets the level. |
items | tuple[str, ...] | Read | Gets the items. |
rows | tuple[tuple[str, ...], ...] | Read | Gets the rows. |
column_spans | tuple[tuple[int, ...], ...] | Read | Gets the column spans. |
ordered | bool | Read | Gets the ordered. |
alt | str | Read | Gets the alt. |
image | bytes | None | Read | Gets the image. |
Methods
| Signature | Description |
|---|---|
__post_init__() | Calls post_init on this ExtractedBlock instance. |
to_dict() → dict[str, Any] | Return independent JSON-ready data; PNG bytes become a data URI. |