flowdocuments

Can I save a FlowDocument to BAML in a programmatic way?

Has anyone found a way to save a FlowDocument as BAML or other compressed format? I can import XML with images to create a new FlowDocument: <TextRange class instance>.Load(fs, DataFormats.Rtf) However, I haven't found a good way to save it in a 'native' compressed format. Uncompressed XAML is easy to generate using: <TextRange cla...

WPF: Printing a FlowDocument

I'm trying to get a FlowDocument to print. After spending much of the day trying multiple pages I failed and opted for something simpler, but I'm now at a loss to explain when text isn't output to the page. This has to be something I've got snowblind to I think. There are two tables below, placing a converter on both shows that the value...