1

我有 html 文件。我想用锚标签转换成 PDf。

当我转换为 PDF 时,发生了以下错误。

“无法将'iTextSharp.text.html.simpleparser.CellWrapper'类型的对象转换为'iTextSharp.text.Paragraph'。”

任何人都知道如何将带有超链接的html源转换为PDF?在页面中,我有内部链接,例如 href="#table1"。

谢谢。

4

0 回答 0