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.

Sat Sep 12, 2015 3:46 pm

Hi,

I can't convert my pdf file patate_13_2015-01-14.pdf to pdf/a correctly.
If you check the original file, it contains in the right top corner a red box with a text... when we convert it to pdf/a (patate_result.pdf), the red box has disappeared.

Here's the code we used :

Code: Select all
 PdfDocument originalDoc = new PdfDocument();
            originalDoc.LoadFromFile("C:\\Projets\\pdfa\\patate_13_2015-01-14.pdf");
            //originalDoc.LoadFromFile("C:\\Projets\\pdfa\\test-tanya.pdf");

            PdfNewDocument newDOC = new PdfNewDocument();
            newDOC.Conformance = PdfConformanceLevel.Pdf_A1B;

            foreach(PdfPageBase page in originalDoc.Pages)
            {
                float pageWidth = page.Size.Width + originalDoc.PageSettings.Margins.Left + originalDoc.PageSettings.Margins.Right;
                float pageHeight = page.Size.Height + originalDoc.PageSettings.Margins.Top + originalDoc.PageSettings.Margins.Bottom;
                PdfPageBase p = newDOC.Pages.Add(new SizeF(pageWidth, pageHeight));
                page.CreateTemplate().Draw(p, 0, 0);
            }

            newDOC.Save("C:\\Projets\\pdfa\\patate.pdf");
            System.Diagnostics.Process.Start("C:\\Projets\\pdfa\\patate.pdf");


Can you help us please?

Thanks in advance.

sincos
 
Posts: 3
Joined: Fri Sep 11, 2015 6:59 pm

Mon Sep 14, 2015 2:21 am

Hello,

Thanks for your inquiry.
Could you please offer us your sample pdf file?
It would be helpful to replicate the issue and work out the solution for you ASAP.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Mon Sep 14, 2015 12:33 pm

Is it possible to make it private please? I can't find the option... or simply remove the file after... Thanks...

sincos
 
Posts: 3
Joined: Fri Sep 11, 2015 6:59 pm

Tue Sep 15, 2015 3:28 am

Hello,

Thanks for your information.
I have noticed the issue. And I have posted the issue to our dev team. We will inform you when it is fixed. Sorry for the inconvenience.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Tue Sep 15, 2015 11:59 am

Do you have any idea how long it can take to get an answer ? We must make a decision this week to find out what direction we will take ?

Thanks a lot

sincos
 
Posts: 3
Joined: Fri Sep 11, 2015 6:59 pm

Wed Sep 16, 2015 2:19 am

Hello,

Thanks for your reply.
I have checked with our dev team and confirm that your issue is expected be resolved within this week. Please wait with patience.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Fri Sep 18, 2015 3:55 am

Hello,

Thanks for your waiting.
The issue is already resolved. It will be submitted for testing.
The fix will be included into the next version of Spire.pdf. We will inform you immediately when it is released.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Thu Oct 08, 2015 7:28 am

Hello,

Thanks for your waiting. Now the newest hotfix(Spire.PDF Pack(Hot Fix) Version:3.5.80) has been released, in which the issue has been resolved.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.PDF