Name
  pdf.GetBoundedText -- get text within bounding rectangle (V1.1)
Synopsis

      t$ = pdf.GetBoundedText(id, page, left, top, right, bottom)

Function
  This function can be used to extract the text that is within the bounding rectangle specified by `left`, `top`, `right`, and `bottom` from a page. If there is no text within the specified bounding rectangle, an empty string is returned.

  The page to use must be specified in the `page` argument. It must be a number in the range of 1 to the total number of pages in the document and the page must have been previously loaded using pdf.LoadPage() with the `text` argument set to `True`. The PDF document specified by `id` must have been previously opened using pdf.OpenDocument().

Inputs
  id
    identifier of the PDF document to use
  page
    page number to use (starting from 1)
  left
    left boundary
  top
    top boundary
  right
    right boundary
  bottom
    bottom boundary
Results
  t$
    the text within the bounding rectangle

Show TOC