Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Dec 24, 2015 9:55 pm

Hi
Thanx For looking my Problem.

Solution:
I have a Project in Visual Studio And C# .Net Framework 4.0 And i have PDF File and i want Search Persian and Arabic Text and Highlight All result searching.

I using this Code For Search and highlight text:

PdfDocument pdf = new PdfDocument("youth.pdf");
PdfTextFind[] result = null;
foreach (PdfPageBase page in pdf.Pages)
{
result = page.FindText("Youth").Finds;
foreach (PdfTextFind find in result)
{
find.ApplyHighLight();
}
}
pdf.SaveToFile("result.pdf");
System.Diagnostics.Process.Start("result.pdf");


----------------------------------------------
Problem :

This Code is working English language , not Working Arabic or persian language,

Question:

How Can i Search Arabic or Persian Text(Arabic and persian is Right to Left )


Please Help Me And Hurry , I want answer Very Soon .
Thanx.

omidghadiri
 
Posts: 5
Joined: Tue Dec 15, 2015 9:57 pm

Fri Dec 25, 2015 2:23 am

Hi,

Thanks for your inquiry.
I have forwarded your issue to our dev team. My dev colleage is doing some investigation and try to resolve it.
We will tell you when there is any update.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Sun Dec 27, 2015 9:50 pm

Hi
Any body can't help me?

omidghadiri
 
Posts: 5
Joined: Tue Dec 15, 2015 9:57 pm

Mon Dec 28, 2015 1:19 am

Hi,

Our dev team has found the cause wich caused the issue. My dev colleague is fixing it. We will tell you immediately when it is resolved.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Tue Jan 05, 2016 11:17 am

Hi
Why your support is very slow time?
How long does it take to answer my question?
I wanted to buy your product, but your product can't solve my problem

Please Help me.

omidghadiri
 
Posts: 5
Joined: Tue Dec 15, 2015 9:57 pm

Wed Jan 06, 2016 2:14 am

Hi,

I am so sorry for any inconvenience we brought to you.
Our working time is GMT+8 9:00AM to 17:30PM from Monday to Friday. We recently had a holiday from January 1 to 3.
Our dev team just finished adding the feature. We at once built a temporary version for you testing.
Welcome to download and test the package, downloading link is http://www.e-iceblue.com/downloads/Temp ... 3.6.44.zip. Please feel free to write to us if you have any problems.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Thu Jan 07, 2016 9:09 pm

Thanx For Support me.
Very thanx.
Now Testing .

omidghadiri
 
Posts: 5
Joined: Tue Dec 15, 2015 9:57 pm

Fri Jan 08, 2016 9:46 am

Hi
I have received error in result:
Source Code:

PdfDocument pdf = new PdfDocument(@"C:\2.pdf");
PdfTextFind[] result = null;
StringBuilder sb = new StringBuilder();

foreach (PdfPageBase page in pdf.Pages)
{
result = page.FindText(textBox1.Text).Finds;
foreach (PdfTextFind find in result)
{
find.ApplyHighLight();
}
}
pdf.SaveToFile("result.pdf");
System.Diagnostics.Process.Start("result.pdf");

Problem:
This Line :
result = page.FindText(textBox1.Text).Finds; I have Received Error:
Additional information: Index was out of range. Must be non-negative and less than the size of the collection.
and
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll

Please Help me.

omidghadiri
 
Posts: 5
Joined: Tue Dec 15, 2015 9:57 pm

Mon Jan 11, 2016 1:34 am

Hi,

Thanks for your feedback.
To help us recreate on our end and resolve the issue, please share your pdf document. You also can send it to [email protected]. Thank you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Thu Jan 14, 2016 8:35 am

Hi,

So sorry for the delayed response.
I don't know why your e-mails were placed into Junk mail on our end.
I just found them, sorry for the inconvenience.
Please tell us which text you found caused the error. Thank you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Fri Jan 15, 2016 2:38 am

Hi,

Thanks for further information via e-mail.
I recreated your issue on our end, and have forwarded it to our dev team.
We will inform you when it is resolved.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Mon Jan 18, 2016 1:51 am

Hi,

Thanks for waiting.
The issue has been resolved. We built a temporary version for the fix, please download and test the version and tell us whether it works fine on your end.
http://www.e-iceblue.com/downloads/Temp ... 3.6.98.zip

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF

cron