Setting the font for different lines in a richTextBox
I am setting up a richTextBox that can be saved as a file and also printed if the user desires.
My code for this richTextBox so far is.
Form2.richTextBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F);
Form2.richTextBox1.Text += " \n " + textBox1.Text + " \n"; //address
Form2.richTextBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
Form2.richTextBox1.Text += " " + textBox2.Text + " \n"; //city,state,zip
It sets the font to 14, then writes the line, then sets the entire box to the 10 font.
What is the code for the first and third lines so the fonts are different.
Or is this even possible.
Thanks for any help in advance!!
Frank