Package com.pspdfkit.utils
Class TextBlockHelpersKt
-
- All Implemented Interfaces:
public final class TextBlockHelpersKt
-
-
Method Summary
Modifier and Type Method Description final static TextBlock
createTextBlock(Annotation $self, PdfDocument document, Range range)
Creates TextBlock from textual annotation. final static TextBlock
createTextBlock(PdfDocument $self, @IntRange(from = 0) Integer pageIndex, Range range)
Creates a TextBlock from the given page. -
-
Method Detail
-
createTextBlock
final static TextBlock createTextBlock(Annotation $self, PdfDocument document, Range range)
Creates TextBlock from textual annotation.
- Parameters:
document
- Document this text block resides on.range
- Range of the text block inside annotation (i.e.- Returns:
Text block created from the given annotation.
-
createTextBlock
final static TextBlock createTextBlock(PdfDocument $self, @IntRange(from = 0) Integer pageIndex, Range range)
Creates a TextBlock from the given page.
- Parameters:
pageIndex
- Page this text block resides on.range
- Range of the text block on page (i.e.- Returns:
Text block created from the given page.
-
-
-
-