Wraps FPDFText_GetBoundedText. Returns the Unicode characters on
page whose glyph centers fall inside the rectangle defined by
(left, bottom, right, top) in PDF user-space points.
Arguments
- page
A
pdfium_pagefrompdf_page_load().- bounds
Numeric length-4 vector
c(left, bottom, right, top).
Details
Pairs naturally with pdf_text_rects() (which produces the
rectangles in the first place) and with downstream geometry-driven
extraction workflows.