PDF Wrong object format


#1

Hi,

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


#2

@canmenev

Thank you for contacting Aspose Support.

This forum is for topics related to Aspose REST APIs whereas your query is relevant to Aspose Native/Downloadable APIs. You are requested kindly to follow this thread https://forum.aspose.com/t/pdf-wrong-object-format/177380 for an answer to your query.