If a line of text is wrapped in an additional line, how can I programmatically determine the point in the line where it was broken.
Example: Input line = "This is a check for a wrapped text line."
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 was wrapped. In the above case, the word "text".
When I retrieve Xaml from a richTextBox, I get the source code expanded.
Thanks,
Bob curlinger
c # wpf richtextbox
Bob kerlinger
source share