阅读PDF文本阿拉伯语和英语 [英] Read PDF text Arabic and English
本文介绍了阅读PDF文本阿拉伯语和英语的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我有这段代码可以阅读阿拉伯文和英文文本:
Hi
I have this code to read text Arabic and English:
<pre lang="cs">
try
{
this.textBox1.RightToLeft = RightToLeft.Yes;
string line = null;
System.IO.TextReader readFile = new StreamReader("C:\\net-informations.txt", Encoding.Default);
line = readFile.ReadToEnd();
textBox1.Text = line;
readFile.Close();
readFile = null;
}
catch (IOException ex)
{
MessageBox.Show(ex.ToString());
}
我想编辑此代码以阅读pdf文件
谢谢
I want to edit this code to read pdf files
thanks
推荐答案
您将需要一个PDF库,例如 ^ ]为您提供帮助.
You will need a PDF library such as iTextSharp[^] to help you.
我下载了它,但没有下载知道如何使用.
你能帮忙吗?
I downloaded it, but I don''t know how to use it.
can you help?
这篇关于阅读PDF文本阿拉伯语和英语的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文