|
-
Nov 12th, 2018, 01:57 PM
#1
Thread Starter
Junior Member
Locate Wrapped Words in a RichTextBox
My project is using a large font and I am trying to locate any words in a multiline RTB w/wordwrap that do not fit on one line. I did a char dump of the Rtb.text and there is no LFs or CRs. Is it possible to locate automatic word wraps in a RTB?
For example if I have
"This document has one ReallyReallyLongWord so I need to find it."
With my large font I will see something like this at runtime
This document
has one
ReallyReallyLon
gWord so I need
to find it.
I need to locate words that do not fit on a single line so I can later reduce the font size of just that word.
How can I find wrapped words?
Thanks for any help.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|