You might want to read the documentation on the
RichTextBox control[
^]. There, you'll find various properties beginning with "Selection". Use the SelectionStart and SelectionLength properties where you can select text and then use the other properties to make changes to the selected text, such as SelectionFont.