create
open fun create(@IntRange(from = 0 ) pageIndex: Int, @NonNull range: Range, @NonNull pageRects: List<RectF>, @NonNull text: String): TextBlock
Creates a TextBlock from the given page.
Parameters
text
The represented string on the document.
page Index
Page this text block resides on.
range
Range of the text block on page (i.e. start and end character index).
page Rects
PDF rects represented by this text block.