rtf格式赋值给WPF RICHTEXTBOX

 MemoryStream stream = new MemoryStream(ASCIIEncoding.Default.GetBytes(rtf));
           richTextBox1.Selection.Load(stream, DataFormats.Rtf);  

你可能感兴趣的:(Stream,WPF,rtf)