将FlowDocument保存为XPS文档到磁盘



现在的窗口包含FlowDocumentReader其中包含我的FlowDocument,我想转换是加载在屏幕上,它有一个按钮,我想当点击这个按钮,保存我的FlowDocument到磁盘作为一个XPS,使用包和流。net类,而不是使用打印机。

Thanks in advance

你会在这里找到答案:http://blogs.msdn.com/b/fyuan/archive/2007/03/10/convert-xaml-flow-document-to-xps-with-style-multiple-page-page-size-header-margin.aspx

相关内容

最新更新