Fri Apr 24, 2020 9:39 pm
I am scouring the documentation, but I don't see any examples of simply testing whether any file is a PDF. I need to test them as they are uploaded by users, so I can response appropriately. I can attempt to load it, but there is no documentation I found that tells me what exceptions to expect if its not valid. Is there an API reference somewhere? Something that explains the document model properties and methods?