Answer the question
In order to leave comments, you need to log in
How to determine how many characters are left before line break in RichTextBox?
I need to perform a certain action when 4 characters are left to enter before the line is moved to a new line. I need to somehow find out how many characters are left from the right edge. Can you tell me how to set the right condition?
Answer the question
In order to leave comments, you need to log in
You can install some monospaced font, such as Courier New.
Calculate the maximum number of characters that fit into a string.
Ready!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question