get Text For Blocks
open fun getTextForBlocks(@NonNull document: PdfDocument, @NonNull textBlocks: List<TextBlock>): String
Returns page text for a list of text blocks. The text is created by sequentially concatenating text blocks with a single space used as a separator.
Parameters
document
Document this text block resides on.
text Blocks
List of text blocks to return text for.