问题描述
你好,
在我的WPF应用程序[目标Windows平台]中,我有一个FlowDocument报告,其中包含文本和图像[带有Image控件的BlockUIContainer].
现在,我正在制作跨平台的[ASP.NET for iPad]版本以显示相同的报告.
我的想法
------------------
将FlowDocument转换为PDF并嵌入到aspx页面.
有什么方法可以将FlowDocument转换为PDF?
*提示
我试图另存为XPS,但是
从服务器端代码[ASP.NET/C#]调用FlowDocument生成函数,由于在报告中使用"Windows.Controls.Image"而引发STA线程错误.
Hello,
In my WPF application [targeted windows platform], I have a FlowDocument Report which contains text and image [BlockUIContainer with Image control] in it.
Now I am making cross-platform [ASP.NET for iPad] version to display the same report.
My thoughts
------------------
Convert the FlowDocument to PDF and embed to aspx page.
Is there any way to convert FlowDocument to PDF?
*Hints
I tried to save as XPS but,
Calling FlowDocument making function from server side code [ASP.NET/C#], throws a STA thread error due to ''Windows.Controls.Image'' usage in report.
推荐答案
这篇关于ASP.NET中的FlowDocument报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!