开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 2044|回复: 0

[讨论] Aspose.Pdf把pdf转为word问题

[复制链接]

0

精华

0

贡献

0

赞扬

帖子
20
软币
111
在线时间
7 小时
注册时间
2018-9-28
发表于 2018-10-17 14:56:39 | 显示全部楼层 |阅读模式
本帖最后由 772169737 于 2018-10-17 14:59 编辑

我通过Aspose.Pdf.dll来对pdf转为word,代码如下: Aspose.Pdf.Document document = new Aspose.Pdf.Document(pdfPath);
if(docFormat.Equals("docx"))
        document.Save(wordPath, Aspose.Pdf.SaveFormat.DocX);
else
        document.Save(wordPath, Aspose.Pdf.SaveFormat.Doc);


文件是转换出来了,但是得到的文字是一块一块的
12222.png
有哪位大神知道用什么方式可以转换成正常的word而不是一块一块的?
用 Spire.Pdf.dll试过也会出现同样的问题
回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-4-28 08:06

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表