Text alignment
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I have a richTextBox control that I load text files into. What is the best way to format and align the text loaded. Also, which control is best to use for this purpose, textBox or richTextBox.
A TextBox doesn't have a concept of alignment, so you'll have to use the RichTextBox. There's a SelectionAlignment property that does just what you want. Regards, mav