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.

Wed Apr 18, 2018 8:21 pm

Hi,
I'm doint a few test before buy the component.
Could you check why is generate the error:
"Item has already been added. Key in dictionary: '242|58.043' Key being added: '242|58.043'"
when i try get a text from specific rectangular area.

string text = page.ExtractText(new RectangleF(position[0], position[1], position[2], position[3]));

luizponce
 
Posts: 2
Joined: Sat Apr 14, 2018 9:21 pm

Thu Apr 19, 2018 2:11 am

Hello,

Thanks for your post. I have noticed the issue and logged it into our bug tracking system. Once it is fixed, we will let you know. We apologize for the inconvenience.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Fri Apr 27, 2018 7:19 am

Hello,

Thanks for your waiting. The issue has been fixed in Spire.PDF Pack(Hot Fix) Version:4.4.11. Welcome to download it and have a try.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Tue May 01, 2018 7:30 am

Hello,

Greeting from E-iceblue.
How is the issue going? Has the hotfix resolved your issue?
Your feedback will be greatly appreciated.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Mon Nov 09, 2020 10:08 am

Hi, I got the same issue in FreeSpire.PDF 6.10.6

on pdf.Pages[0].FindText(@"(?i)\b(test1|test2)\b", TextFindParameter.Regex).Finds
I get System.ArgumentException: 'Item has already been added. Key in dictionary: 'JuiceITC' Key being added: 'JuiceITC''

dashakirby
 
Posts: 2
Joined: Tue Oct 13, 2020 8:15 pm

Tue Nov 10, 2020 2:07 am

Hello Daria,

Thanks for your post.
I simulated a PDF file and tested your case but did not encounter any issue. To help us better reproduce your issue and solve it, please share your test PDF file with us. You could send it to us ([email protected]) via email. Thanks in advance.
Besides, you can also test your case with our latest commercial version (Spire.PDF Pack(Hot Fix) Version:6.11.0) as it is more stable and contains more bug fixes.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Thu Nov 19, 2020 5:44 am

Hello Daria,

Greetings from E-iceblue!
How is your issue now? Could you please provide more information to help us investigate further?
Thanks in advance.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.PDF