TextFragment constructor

__init__(self, text, rectangle)

Initializes a new instance of the recognized text fragment.


def __init__(self, text, rectangle):
    ...
Parameter Type Description
text str textual content of the recognized text fragment
rectangle aspose.pydrawing.Rectangle bounding rectangle of the recognized text fragment

See Also