RichTextBox: Implement conversion of DocumentPosition to an integer number
The customers need to convert the position to an integer number representing the offset of the current position from the first position in the document. A method returning the position at a specified offset would be useful as well.