enum PTTextSelectionMode {}

PTTextSelectionMode lists different text selection modes that can be used to highlight text. PDFView currently supports the following text selection modes:

  • e_ptstructural - Selects text based on the logical structure of the page. This type of selection is similar to HTML like selection in web-browsers.
  • e_ptrectangular - Selects all words that intersect the given selection rectangle.
  • e_ptstructural_algorithm_2 - Similar to e_ptstructural but use different algorithm when the start point is not inside a block (not being too smart).