Represents a range of text within a document page.
This class holds the data required to identify and display a text selection or search result on a document page. Can be used as UI state.
The ending character index (exclusive) of the text range.
Returns true if this text range contains no characters or has no visual bounds.
true
The number of characters in the text range.
The zero-based index of the page containing this text range.
The starting character index of the text range within the page.
The list of rectangles representing the visual bounds of the text blocks.
We don't need to compare the textBlocks. pageIndex, start and length are enough to determine equality.
Returns a hash code based on pageIndex, start, and length.