We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Correct package for OCR in WPF .NET 7

Hello,

I have a WPF app based on .NET 7, where I use the packages Syncfusion.Pdf.Wpf and Syncfusion.PdfViewer.WPF without problem.

If I would like to add the OCR feature, which Nuget package should I add?


I tried with Syncfusion.PDF.OCR.NET, but I get these errors
"
The type 'PdfDocument' exists in both 'Syncfusion.Pdf.Base, Version=20.2500.0.44, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' and 'Syncfusion.Pdf.NET, Version=20.2600.0.44, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'"


I also tired with Syncfusion.PDF.OCR.Wpf, but the package is restored targeting .Net Framework.


What is the correct way?

Thank you


4 Replies

SN Santhiya Narayanan Syncfusion Team December 14, 2022 02:18 PM UTC

We were able to reproduce the reported issue with provided details on our end. Currently, we are validating on this and we will update the further details on December 16th 2022.



SN Santhiya Narayanan Syncfusion Team December 16, 2022 01:56 PM UTC

Currently we do not have OCR support in .NET 7.0. As of now we will add the support in Syncfusion.PDF.OCR.Wpf package and we will update the custom NuGet package on December 28, 2022. Also we will include this support in our upcoming Volume 4 SP release.  



SN Santhiya Narayanan Syncfusion Team December 28, 2022 04:22 PM UTC

We are unable to provide the custom nuget today. Currently, we are working on that, and we will update the custom NuGet package on January 4, 2023.



SN Santhiya Narayanan Syncfusion Team January 4, 2023 09:13 AM UTC

We have fixed the reported issue and the test patch for this fix can be downloaded from the following link.This fix will be included in the upcoming 4 SP1 release.

Syncfusion.pdf.ocr.wpf - https://www.syncfusion.com/downloads/support/directtrac/general/ze/Syncfusion.Pdf.OCR.Wpf.20.4.0.41-1299313415.zip





Loader.
Up arrow icon