TextWord

Overview

TextWord is a class in Aspose.PDF FOSS for Python.

A detached positioned word in unrotated PDF coordinates, in points.

This class declares 1 method for TextWord objects in Python programs. Available methods include: __post_init__. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: bbox, page_index, quad, rect, text.

Properties

NameTypeAccessDescription
bboxtuple[float, float, float, float]ReadAlias of :attr:rect for coordinate-based data processing.
page_indexintReadGets the page index.
textstrReadGets the text.
recttuple[float, float, float, float]ReadGets the rect.
quadtuple[tuple[float, float], ...]ReadGets the quad.

Methods

SignatureDescription
__post_init__()Calls post_init on this TextWord instance.

See Also