Name
  pdf.GetFindResult -- get result of search operation (V1.1)
Synopsis

      idx, len = pdf.GetFindResult(id, page)

Function
  This function can be used to get the result of a search operation after pdf.FindNext() or pdf.FindPrev() has returned `True`. In that case, `pdf.GetFindResult()` will return the character index of the search string's occurrence on the page as well as its length. Character indices start from 0.

  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)
Results
  idx
    start offset of next occurrence of search string on page
  len
    length of search string

Show TOC