读取pdf文件并将内容写入c#中的word文档 [英] read a pdf file and write content to word document in c#
本文介绍了读取pdf文件并将内容写入c#中的word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我需要你帮忙解决这个问题,我想知道如何在C#中将PDF文件的内容读入Word文档。
谢谢,
palanivel.R
Hi all, i need your help solve this problem , i want to know that how to read the content of PDF file into the Word Document in C# .
Thanks,
palanivel.R
推荐答案
支票..
用C#从PDF中提取文本( 100%.NET) [ ^ ]
http://social.msdn.microsoft.com/Forums/en-US/41c7c337-0b32-4779-9331-262463a1bfa3/how- to-read-pdf-file-through-c- [ ^ ]
^ ]
Check..
Extract Text from PDF in C# (100% .NET)[^]
http://social.msdn.microsoft.com/Forums/en-US/41c7c337-0b32-4779-9331-262463a1bfa3/how-to-read-pdf-file-through-c-[^]
http://stackoverflow.com/questions/8442327/reading-pdf-file-using-itextsharp[^]
在Codeproject中,你可以找到很好的资料和答案:
www.codeproject.com/Articles/12445/Converting-PDF-to-Text-in-C
或:
www.melbtest.com.au/woa/pdf-excel_download.htm
Here in Codeproject you can find good sources and answers:
www.codeproject.com/Articles/12445/Converting-PDF-to-Text-in-C
or:
www.melbtest.com.au/woa/pdf-excel_download.htm
您可以使用提供的iText库c#。
您也可以使用PDFFocus.Net库文件。
使用PDF Focus.Net,将pdf转换为单词将小到:
You can use iText library available in c#.
You may also work with PDFFocus.Net library file.
By using PDF Focus.Net, the code to convert pdf to word will be as small as :
SautinSoft.PdfFocus f = new SautinSoft.PdfFocus();
f.OpenPdf(@"c:\Pushkin Poems.pdf");
if (f.PageCount > 0)
{
f.ToWord(@"c:\Pushkin Poems.doc");
}
这篇关于读取pdf文件并将内容写入c#中的word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文