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 Jun 14, 2018 8:27 am

When adding a page to a PDF document and saving it again as PDF, the resulting PDF file can not be opened by the Reader app from Windows 8.1. The Reader app crashes.
Code used:
Code: Select all
var page = document.Pages.Add(PdfPageSize.A4);


Strange enough, when adding the page without a size, the PDf file can be opened in the Reader app:
Code: Select all
var page = document.Pages.Add();


Product: Spire.PDF for WPF
Version: 4.6.1.2240

johide
 
Posts: 6
Joined: Wed Apr 18, 2018 7:05 am

Thu Jun 14, 2018 8:46 am

Hello,

Thank you for your inquiry.
Are you using Edge web browser to open the PDF? In fact, this is a known issue for "Edge". There's a workaround, that is using the code "PdfDocument.PageSetting.Size and PdfDocument.PageSetting.Margins" to set the page size and margins you need separately. Then, use the code "document.Pages.Add()" to add pages.
If what you are using is not "Edge", we need the following information.
1. The name and version of the PDF Reader App.
2. Your sample PDF documents, including the original one and the generated one which has an issue.
3. Try other PDF Readers like Adobe and tell us if you still have the issue.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Fri Jun 15, 2018 7:26 am

Hello Jane,

I am not using Edge to open the PDF. In fact, this seems to work with Edge and also Adobe Acrobat Reader.
The application that I am experiencing this issue with is the built-in Microsoft Reader app in Windows 8.1, version 6.4.9926.18907.
You can get the sample PDFs from the attached zip file.

Regards

johide
 
Posts: 6
Joined: Wed Apr 18, 2018 7:05 am

Fri Jun 15, 2018 8:27 am

Hello johide,

Thank you for your details.
Yes, I have reproduced the strange issue and delivered it to our dev team for a better investigation.
Once there's any update, I will let you know.
So sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon Aug 06, 2018 8:19 am

What is the status of this? Will there be a fix soon?

johide
 
Posts: 6
Joined: Wed Apr 18, 2018 7:05 am

Mon Aug 06, 2018 10:08 am

Dear johide,

Thank you for your inquiry.
Sorry to tell there's no significant progress so far due to the complexity. Please spare us a little more time.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Sep 18, 2018 7:01 am

Dear johide,

Greetings from e-iceblue!
Glad to inform that your issue has been resolved and the hotfix Spire.PDF Pack(Hot Fix) Version:4.9.4 is available now.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDF