I see the thread from 24th Feb in the forum, but it appears “isPDF” didn’t quite do what was require? I need to be able to tell if a PDF can be opened for reading and is not damaged. I’ve inherited lots of PDFs (many are “scanned” - image only) and need to locate any damaged ones (i.e. which cannot be opened in Adobe reader). The documentation doesn’t say how the “isPDF” method works or how deep the checks are. Can you confirm:
a) that “isPDF” means the file can always be opened in Adobe Reader (or does it just locate the initial “PDF” signature on the file)
b) that it also means “scanned PDFs” (image only) can be opened in Adobe Reader.
c) can I get a page count for both scanned PDFs and ordinary ones? I’ve been using another commonly available tool, but it often throws exceptions when trying to get the page count from valid “scanned PDFs” so the results are misleading.
Sorry for all the questions, but I know Aspose tools are great (have used Words and Cells). I don’t need to OCR the “scanned PDFs” (image only) I just need to know they are valid PDFs which can be opened.
Thanks in advance
Barry