Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Mar 08, 2018 8:25 am

I am having an issue, when trying to load a certain PDF document. Every time I try to load the PDF document that I have attached I get an System.ArgumentNullException with the following message:
Value cannot be NULL. Parametername: element

The code that is loading the PDF document.
Code: Select all
PdfDocument doc = new PdfDocument(@"C:\Users\username\Desktop\D00AEI95.PDF");

The PDF file can be opened and viewed without any issues.

PMOAME
 
Posts: 4
Joined: Tue May 16, 2017 3:22 pm

Thu Mar 08, 2018 9:26 am

Hello,

Thanks for you post. After an initial test with the latest Spire.PDF Pack(Hot Fix) Version:4.3.0, I was unable to reproduce the issue. If you were using an older version, please update to the latest one and try again.

Best regards,
Simon
E-icelbue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Thu Mar 08, 2018 9:36 am

Thank You.
It did work with the new version.

PMOAME
 
Posts: 4
Joined: Tue May 16, 2017 3:22 pm

Thu Mar 08, 2018 9:45 am

Hello,

Thanks for your prompt feedback. If there is any other query, welcome to write to us.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.PDF