在itextsharp中表背景图像问题 [英] Table background image problem in itextsharp
本文介绍了在itextsharp中表背景图像问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友,
我在我的asp.net应用程序中使用itextsharp来创建pdf文档。它的工作正常,除了背景图像。我处理了< img>标签也工作正常。当我生成桌子或身体背景图像时,它没有以pdf显示图像。请告诉我,我该如何解决这个问题。
i我正在使用itextsharp.xmlworker来解析html标签。
提前谢谢。
Friends,
I am using itextsharp in my asp.net application for creating pdf document. Its working fine, except background images. I handled <img> tag also its working fine. when i am generating table or body background image its not showing the image in pdf. Please advise me, how can i fix the problem.
i am using itextsharp.xmlworker to parse the html tag.
thank you in advance.
推荐答案
尝试使用file:/ //C:/img.jpg用于图像路径而不是C:/img.jpg。
如果有效,请告诉我。
Hi,
Try using "file:///C:/img.jpg" for image path instead of "C:/img.jpg".
Let me know if it works.
这篇关于在itextsharp中表背景图像问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文