API reference
Text extraction
API for the TextPage class — a reusable, parsed text layer for one page used by get_text and search_for.
A TextPage is a reusable, parsed text layer for one page. Build one with
Page.get_textpage(...) and pass it back via textpage= to get_text /
search_for to avoid re-parsing.
Full API for
pdfspine.TextPage — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.