Text Selection
TextSelection represents a selection of text on a document page. This class is not meant to be generated manually, but should be retrieved by calling getTextSelection or by registering a OnTextSelectionModeChangeListener.
See also
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun fromTextRange(@NonNull document: PdfDocument, @IntRange(from = 0 ) pageIndex: Int, @NonNull textRange: Range): TextSelection
Factory method.
Link copied to clipboard
open fun fromTextRects(@NonNull document: PdfDocument, @IntRange(from = 0 ) pageIndex: Int, @NonNull touchedTextRects: TextSelectionRectangles): TextSelection
Factory method.
Link copied to clipboard