blog:2021-02-05_c_copy_formatted_content_from_a_richtextbox
2021-02-05 C#: Copy Formatted Content From a RichTextBox
Solution
if (richTextBox1.Text.Length > 0)
{
// Copy the formatted content to the clipboard
Clipboard.SetText(richTextBox1.Rtf, TextDataFormat.Rtf);
}
Permalink blog/2021-02-05_c_copy_formatted_content_from_a_richtextbox.txt · Last modified: 2021/02/05 14:55 by
jethro