I’m trying to get the text in different PDFs but I get the following error: “Aspose.Pdf.Engine.IO.Serialization.PdfSerializationException: ‘Wrong object format.’”. When this happens, I check the file and the format is correct, a PDF. What’s is happening? Thanks in advance!
The program stops in this instruction: Aspose.Pdf.Text.TextAbsorber absorber = new Aspose.Pdf.Text.TextAbsorber();
I’m using Windows 10, Visual Studio 2017 and Aspose PDF 11.2.0