I have used a WPF RichTextBox to save a flowdocument from it as byte[] in database. Now i need to retrieve this data and display in a report RichTextBox as an rtf. when i tr
This works like a charm for me. Displays the result in an RTF box without difficulties.
public static string getDocumentAsXaml(IDocumentPaginatorSource flowDocument) { return XamlWriter.Save(flowDocument); }