My WPF app displays lots of text snippets at various places on a large canvas (a kind of post it note app)
I am currently rendering the text using FormattedText objects and 'drawing them' straight into Visual objects (for speed/efficiency)
Challenge I have is how to load/save/edit that rich text. I'd like to use a RichTextBox to edit the text - but I can't find a way to get the text out of the text box and into a FormattedText object (or visa versa)
Anyone know how this might be achieved? Only way I can think is to have some kind of 'serialise to/from RTF' capability on the FormattedText object - but that doesn't seem to exist.
Thanks