Partilhar via


Xaml FlowDoc to XPS

Feng Yuan has a nice blog post on how to convert FlowDocuments to an XPS document with the header. The code is in the form of a wrapper class so its gonna be handy. I tried out the code on a RichTextBox and it worked like a charm J

 

I reused one of my old samples and it looks great :) ... The sample code is attached.

(PS: Do make a point a read the original post for code specific details)

Share this post

WindowsApplication3.zip

Comments

  • Anonymous
    March 30, 2007
    just wht I needed