Build a range from two inclusive character indices in either order.
The text to process.
The a value (number).
The b value (number).
The resolved PdfPageTextRange.
Build a range from two inclusive character indices in either order.