I'd like to use a RichTextBox
to display some text in the start page of my WinForms application, as follows:
richTextBox1.Rtf = @"{\rtf1\pard\fs40 Hello World\par }";
The RichTextBox
ignores my font-size directive (\fs40
). It works in both Word and WordPad.
What am I doing wrong?