报告支持html与图像里面! [英] Reporting that support html with image inside!

查看:47
本文介绍了报告支持html与图像里面!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,你好吗?



我在项目中使用localreport创建报告但是我发现了一个问题。



我的解决方案收到列表中的项目并使用此信息呈现PDF但在某些包含html代码的字段中,图像和表格没有t显示在我的PDF文件中。



因此,在这个字段中我有一些用户创建的动态内容,这些内容可以是图像,表格等。 br />


有人有这个问题吗?



任何可以解决我问题的解决方案?



提前致谢!

解决方案


我们可以获取HTML内容从SharePoint列表项字段中,然后使用C#代码将HTML代码转换为PDF。


以下免费解决方案供您参考:


https://github.com/hiqpdf /free-html-to-pdf-net-csharp/wiki/Free-HTML-to-PDF-.NET


https://code.msdn.microsoft.com/Convert-from-HTML-to-PDF-09ce2a1d


最好的问候,


Dennis


Hi guys, how are you?

I´m using localreport in my project to create a report but I found one problem.

My solution receive a item of the list and rendering PDF with this information but in some fields that contain html code, the image and table doesn´t show in my PDF File.

So, in this fields I have dynamic content that was created by some user, this content can be images, tables and etc.

Anybody had this problem?

Any solution which can solve my problem?

Thanks in advance!

解决方案

Hi,

We can get the HTML content from the SharePoint list item fields, then convert the HTML code to PDF using C# code.

The following free solution for your reference:

https://github.com/hiqpdf/free-html-to-pdf-net-csharp/wiki/Free-HTML-to-PDF-.NET

https://code.msdn.microsoft.com/Convert-from-HTML-to-PDF-09ce2a1d

Best Regards,

Dennis


这篇关于报告支持html与图像里面!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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