ASP.NET中的FlowDocument报表 [英] FlowDocument Report in ASP.NET

查看:83
本文介绍了ASP.NET中的FlowDocument报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

在我的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.

推荐答案

我想您必须将报告转换为PDF并将其显示在ASP.NET中.

我在
I guess you have to convert the report to PDF and display it in your ASP.NET.

I did a search on Google[^] looking for "ASP.NET PDF Creator" and got a huge list. Pick the one which suits your need


这篇关于ASP.NET中的FlowDocument报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆