Format indent of each individual word in a string in a richtextbox in Visual Studio 2015

  • Thread starter Thread starter jcourier1
  • Start date Start date
J

jcourier1

Guest
How can I format a richtextbox so that the first word in a line starts 2 spaces in from the left side of the richtextbox, the second word starts 20 spaces in from the left, the third word starts 40 spaces in from the left and so on? Having the spaces between the words be the same doesn't work because I get:

Line1..1000 3000 4000

Line2..100 30 400

What I need is:

Line1..1000 3000 4000

Line2..100 30 400

I am adding an entire line of 12 words/numbers with one button click.

Thank you.

Continue reading...
 
Back
Top