If a line of text is wrapped to an additional line, how do I determine programmatically the point in the string where it was broken.
Example: Input string = "This is a test of a wrapped line of text".
Based on the width of the richTextBox it could display:
This is a test of a wrapped line of
text.
What I need to determine is offset in the line of the word(s) that got wrapped. In the above case the word "text".
When I extract the Xaml from the richTextBox, I get the original text unwrapped.
Thanks,
Bob Kerlinger