I have a RichTextBox and FontDialog in the form. I like a selected portion of the text in the RichTextBox to change to the font I have selected in the FontDialog - how do I do it?
FontDialog1.Font = RichTextBox1.SelectionFont
FontDialog1.Color = RichTextBox1.SelectionColor
If FontDialog1.ShowDialog = DialogResult.OK Then
RichTextBox1.SelectionFont = FontDialog1.Font
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.