Returns the text between the two specified points in page space.
- iOS 11.0+
- macOS 10.4+
- Mac Catalyst 13.0+
Either point may be the one closer to the start of the page. In determining the selection, the points are sorted first top to bottom and then left to right.
Page space is a 72 dpi coordinate system with the origin at the lower-left corner of the current page.
To visualize the selection, picture the rectangle defined by
end. The selection begins at the first character fully within the defined rectangle and closest to its upper-left corner. The selection ends at the last character fully within the defined rectangle and closest to its lower-right corner.