Rank: Newbie
Groups: Registered
Joined: 2/2/2017(UTC) Posts: 2
Thanks: 1 times
|
Hi! I wrote the simplest WPF app to test "image to searchable PDF" scenario (with trial version from Nuget package). I get the OcrException with "Unexpected error code" on api.ProcessPages() call. I saw several similar issues on this forum, and tried all proposed solutions, but nothing helps in my case. What's strange is that basically the same Console app works fine for me. I only have issue in WPF app. Could you please help me to resolve the issue? I've attached the sample project (without Nuget package installed). Thank you, Mikhail  WpfOcrTest.zip (123kb) downloaded 25 time(s).
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Looks like pdf.ttf cannot be loaded. Please check that the file is copied into output folder. Its properties should be set as following. Also please note to "Build Action"  pdf.ttf.png (7kb) downloaded 325 time(s).Edited by user Monday, February 6, 2017 6:13:04 AM(UTC)
| Reason: Not specified
|
 1 user thanked Paul Rayman for this useful post.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/2/2017(UTC) Posts: 2
Thanks: 1 times
|
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close