Hi @S-Soft , You can try the following code.
runtimeRichTextBox.Find(RichTextBox1.Lines(0))
runtimeRichTextBox.SelectionColor = Color.Red
runtimeRichTextBox.SelectionAlignment = HorizontalAlignment.Center
runtimeRichTextBox.SelectionFont = New Font(
runtimeRichTextBox.SelectionFont.FontFamily,
runtimeRichTextBox.SelectionFont.Size,
FontStyle.Bold
)
Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.