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.

Tue Aug 20, 2019 9:36 am

Version: Spire.Pdf 5.8.7
When attempting to process a PDF document the following exception is generated:

System.Exception: format error
at spr៝.ᜃ(spr᜴ A_0)
at sprᝣ.ᜂ()
at sprᝣ.ᜀ()
at sprᝣ.ᜁ()
at spr៝.ᜃ(spr᜴ A_0)
at Spire.Pdf.Widget.PdfPageCollection.get_Count()
at spr⠆.ᜁ(Boolean A_0)
at spr⠆.᜙()
at Spire.Pdf.PdfDocument.Dispose()

mscotto511
 
Posts: 13
Joined: Fri Sep 21, 2018 3:45 pm

Tue Aug 20, 2019 10:28 am

Hi,

Thanks for your inquiry.
To help us investigate your issue accurately, please offer us the following information for further investigation.
1. Your input Pdf file
2. The complete code you were using for reproducing your issue
You could upload them here or send us(support@e-iceblue.com) via email.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Wed Aug 21, 2019 5:44 am

The input file and code has been emailed to support.

mscotto511
 
Posts: 13
Joined: Fri Sep 21, 2018 3:45 pm

Thu Aug 22, 2019 1:03 am

Hi,

Thanks for your information via email.
Since your code is not complete, I tried to change your code but didn't reproduce your issue. Which code throws the exception?
To help us solve your issue quickly, could you please offer us a runnable project which could reproduce your issue directly?

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.PDF