Class: TextLayerBuilder

TextLayerBuilder()

The text layer builder provides text selection functionality for the PDF. It does this by creating overlay divs over the PDF's text. These divs contain text that matches the PDF text they are overlaying. This object also provides a way to highlight text that is being searched for.