from Text Range
open fun fromTextRange(@NonNull document: PdfDocument, @IntRange(from = 0 ) pageIndex: Int, @NonNull textRange: Range): TextSelection
Factory method. Not meant to be used manually.
Factory method. Not meant to be used manually.