Click here to Skip to main content
14,984,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 7-Sep-18 1:25am
v2

1 solution

Hi,

Try using "file:///C:/img.jpg" for image path instead of "C:/img.jpg".

Let me know if it works.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900