Search code examples
c#winformsrichtextboxtext-alignmenttext-formatting

RichTextBox Text Positioning


I'm building a simple application, but I need to know how to use a RichTextBox and position the text on it, like: center, right and left. But how I can do this?


Solution

  • Use the SelectionAlignment property. See MSDN for details.