0

我已经浏览了所有的互联网,但我找不到一个好的 PDF ti HTML 转换器。您知道是否存在允许我将 pdf 转换为 html 的 js 或 php 脚本吗?付费脚本或免费脚本,都可以。请帮助我,对不起我的英语。先感谢您。

4

1 回答 1

0

如果您可以使用商业 .net 库(仅限 Windows),请尝试使用Amyuni PDF Creator .Net。方法IacDocument.ExportToHtml5应该可以满足您的需要。

来自文档页面的示例代码:

System.IO.FileStream testfile = new System.IO.FileStream("TestFile2.pdf", FileMode.Open, FileAccess.Read, FileShare.Read);

pdfCreator1.Document.Open(testfile, "");

//Export all pages in the PDF file to HTML5 using the default options
pdfCreator1.Document.ExportToHTML5("test.html", Amyuni.PDFCreator.IacHtml5ExportOptions.acHtml5ExportOptionDefault);

免责声明:我目前在 Amyuni Technologies 工作

于 2013-10-15T15:32:29.710 回答