❔ Extract RTF-String from RichTextBox in WPF

I need help to get the formatted RTF-String from a RichTextBox. I use WPF in C# .NET6.0 How do i get it? I need it in a string variable.
3 Replies
CodeStar
CodeStar9mo ago
Here Would you like to explain in detail more?
Angius
Angius9mo ago
Stack Overflow
How to get RTF from RichTextBox
How do I get the text in RTF of a RichTextBox? I'm trying to get like this, but the property does not exist. RichTextBox rtb = new RichTextBox(); string s = rtb.Rtf;
Accord
Accord9mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.