RichtextBox Spaces distribute

I want to Distribute Spaces Which remains in each end of line to the whole line of <"RichtextBox"> like {MS word} & reach with the last word of the text of the line to the end of same line.

such as:-

(raul is a very good player. ) line ends with for example 3 space

so you will distribute these spaces on the line to make the word (player.) at the end of line

(.) refers to the end of line




Answer this question

RichtextBox Spaces distribute

  • talz13

    If you are referring to full text alignment, this is not done by adding spaces, it is done using custom drawing techniques, e.g. the string is measured and spread out along the line when it is drawn on the screen.

  • RichtextBox Spaces distribute