I have a stack panel which serves as a template for previewing an auto genereted document (which is actually a bunch of items bound to the various child panels). Now I have to enable the export to PDF and printing, which I have already done by using DocumentPaginator, though one problem still exists and that is, how to correctly paginate FrameworkElement or Visual? I don't want to render it to bitmap first, because then I loose vector graphics in PDF. Any suggestions?