Unable to Export HTML Markup to PDF using iTextSharp API in asp.net using C#?

前端 未结 2 1972
旧时难觅i
旧时难觅i 2021-01-27 06:39

I have an HTML markup which has HTML Table and Images in it. I am using iTextSharp API to convert the HTML

2条回答
  •  独厮守ぢ
    2021-01-27 06:43

    Take a look at: creating pdf with itextsharp with images from database

    You need to either provide the full physical path in the src-attribute of every img-elements (e.g. ) or there is a possibility to tell iTextSharp the physical base folder for all your images.

提交回复
热议问题