Hi Team,
We are using 9.7.0.0 verion of Aspose.Pdf for all kinds of PDF operations. I am facing a problem in detecting a corrupted PDF file. Aspose.Pdf .Document class successfully loads a corrupt PDF and even provides the Page Count accurately.
My requirement is to determine if PDF is corrupt and if it is corrupt, I don’t want to go ahead with the processing. Is there any way to detect a corrupt PDF file using Aspose.Pdf ? I searched the Aspose.Pdf forum but couldn’t find anything positive for this.
I have also attached one corrupt PDF file, which I created by opening the PDF file in notepad and deleting some content. Kindly suggest.
Regards,
Anto Paul Thekkan