Document Text Provider
interface DocumentTextProvider
Interface for providing text data of a PDF document.
Types
Functions
Link copied to clipboard
Link copied to clipboard
Returns text content of the document page.
Returns text content inside given page rectangle.
Returns text content between two character indexes. Use getPageTextLength to determine the number of characters on page.
Link copied to clipboard
Gets number of characters in text on the page.
Link copied to clipboard
Link copied to clipboard
abstract fun getWordAtPoint(pageIndex: Int, x: Float, y: Float, tolerance: Float, markupPadding: Boolean = true): DocumentTextProvider.TextRange?
Looks for a word at the given point.