aspose - Validate PDF Document -


i'm wondering if there's way check if pdf file valid or if not contain errors. currently, have code check if file valid.

var pdfdocument = new document(stream) 

where stream memorystream of document. however, when tried upload pdf file , add image it, error (cross reference thingy). checked online if pdf valid , got error message.

enter image description here

i want or code catch error. have idea on how, need expert suggestion on how this.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -