Hi, I just need to get text from a set of PDF files.
Hi Federico,
Thanks for using our products.
I have tested the scenario using Aspose.Pdf for .NET 7.6.0 over Windows 7(X64) in Visual Studio 2010 application where I have set the target platform of application as .NET Framework 4.0_ClientProfile and I am unable to notice any issue. Can you please try using the latest release version and in case the problem still persists, please share some details regarding your working environment.
We are sorry for this inconvenience.
PS, I have observed that the source PDF file contains scanned images. You may consider extracting images from PDF file and perform OCR using Aspose.OCR. Please visit Extract Images from the PDF File and Performing OCR on an Image
Thank you for your quick reply!
Hi Federico,
Thanks for sharing the details.
Can you please share which version Aspose.Pdf for .NET you have referenced in your project ? i.e. Aspose.Pdf.dll file from folder under bin directory of Aspose.Pdf for .NET installation path. In fact we do not provide any variation of Aspose.Pdf.dll for .NET Framework 3.5_ClientProfile. During my testing, I have set the target platform of my application to .NET Framework 3.5_ClientPfile and when I have tried referencing Aspose.Pdf.dll from net3.5, I am getting errors during code compilation.
Whereas when I have set the target platform of my application to .NET Framework 3.5 and have used Aspose.Pdf.dll from net3.5 folder, I am unable to notice any issue in VisualStudio 2010 application running over Windows 7 (X64). I am not entirely certain that the problem is related to Operating System version but will further look into this problem.
Other question: with the same code, I succeded in reading some files but the extracted data is something like that: ‘Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2012 Aspose Pty Ltd…’ I get at most few characters (around 100). Is there any limitation since I am using the trial version?
It’s a limitation in trial mode. Please request a 30 days temporary license to test the product without any limitations. Follow the instructions specified over following link on how to Get a temporary license
We are sorry for your inconvenience.
Hi, I attach Aspose.PDF.dll that I reference in my project. Please also notice that I am using VS 2008 not VS 2010 as a working environment.
I have also tried to do a simple console application in VS 2010 (.NET 4.0 Client Profile dll) by myself, even if my official working environment is VS 2008, and I still have the same exception with the file I sent you in first post.
Hi Federico,
Hi, I tried now with temporary license and I don’t get exception anymore. Great!
Hi Federico,