使用vb.net / c#.net将文本写入文本 [英] Pdf to text using vb.net / c#.net

查看:73
本文介绍了使用vb.net / c#.net将文本写入文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

何将加密的pdf转换为文本?我尝试过itextsharp,但它没有解密数据。但是在没有任何额外设置的情况下,文本在Adobe Reader中完全可读。

解决方案

此CodeProject文章及其评论是人们可以提取的事实的证据即使使用iTestSharp,PDF格式的文字:用C#从PDF中提取文本( 100%.NET) [ ^ ]。



请尝试一下。请注意评论和讨论部分的替代解决方案(和回复)中显示的代码。



-SA

Ho to convert encrypted pdf to text?. I have tried itextsharp, but its not decryting the data. But the text is totally readable in Adobe Reader without any extra settings.

解决方案

This CodeProject article, with comments to it, is an evidence of that fact that people can extract text from PDF even with iTestSharp: Extract Text from PDF in C# (100% .NET)[^].

Please try it, too. Pay attention for the code shown in the post "Alternative solution" (and replies) of the "Comments and Discussions" section.

—SA


这篇关于使用vb.net / c#.net将文本写入文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆