create Text Block
fun Annotation.createTextBlock(document: PdfDocument, range: ERROR CLASS: Symbol not found for Range): ERROR CLASS: Symbol not found for TextBlock
Creates TextBlock from textual annotation.
Return
Text block created from the given annotation.
Parameters
document
Document this text block resides on.
annotation
Annotation this text block resides on.
range
Range of the text block inside annotation (i.e. start and end character index).
fun PdfDocument.createTextBlock(@IntRange(from = 0 ) pageIndex: Int, range: ERROR CLASS: Symbol not found for Range): ERROR CLASS: Symbol not found for TextBlock
Creates a TextBlock from the given page.
Return
Text block created from the given page.
Parameters
document
Document this text block resides on.
page Index
Page this text block resides on.
range
Range of the text block on page (i.e. start and end character index).