Hello,
I’ve encountered an exception “The root object missing or invalid” while instanciating a Document with a pdf file.
I can open the pdf file with Acrobat Reader or IText RUPS just fine, though.
documentxs.pdf (699.4 KB)
Here is the code snippet, using Aspose.PDF 23.2.0.0 :
var file = @“c:\temp\documentxs.pdf”;
var document = new Document(file);