C#: Paste RTF in RichTextBox but keep coloring and formatting (i.e: bold, underline, etc)
问题 Is it possible to paste text into a Rich Text Box, while keeping the font being used in the Rich Text Box for the pasted content ? In other words, I'd like to copy something from Word that is formated (i.e: a text that uses a font X and is underlined and in blue), and then paste it in my RichTextBox. I would like the pasted content to have the same font as that of my RichTextBox but keep its original coloring and underlining. Is such a thing possible ? I use winforms. Thanks 回答1: This is not