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.

Wed Nov 27, 2019 2:50 pm

Dear Team,


I'm facing with a issue where PDF files with stamps applied start missing the scale of it. I had this issue before and you guys give a HotFix that worked just fine, looks like that the HotFix 5.11.2 hasn't cover the solution of this issue.



Thanks
Thank You

mferraro15@gmail.com
 
Posts: 57
Joined: Tue Mar 19, 2019 6:41 pm

Thu Nov 28, 2019 1:57 am

Hi,

Thanks for your inquiry.
Are you talking about this issue?
I have tested the file and the code with Spire.PDF V5.11.2, didn't find the issue you mentioned. The stamp size is correct. Code:
Code: Select all
            PdfDocument document = new PdfDocument(FilePath + "Test_before.pdf");

            PdfDocument newPdf = new PdfDocument();

            foreach (PdfPageBase page in document.Pages)
            {
                PdfPageBase newPage;
                if (page.Rotation == PdfPageRotateAngle.RotateAngle90)
                    newPage = newPdf.Pages.Add(new SizeF(page.Size.Height, page.Size.Width), new PdfMargins(0));
                else if (page.Rotation == PdfPageRotateAngle.RotateAngle270)
                    newPage = newPdf.Pages.Add(new SizeF(page.Size.Height, page.Size.Width), new PdfMargins(0));
                else
                    newPage = newPdf.Pages.Add(page.Size, new PdfMargins(0));
                page.CreateTemplate().Draw(newPage, new PointF(0, 0));
            }

            newPdf.SaveToFile("18435-5-11-2.pdf", FileFormat.PDF);


Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Dec 03, 2019 8:40 pm

Could You please try it with the file Test_File.pdf?
Thank You

mferraro15@gmail.com
 
Posts: 57
Joined: Tue Mar 19, 2019 6:41 pm

Wed Dec 04, 2019 2:55 am

Hi,

Thanks for your information.
I have noticed the issue with your new file and logged it in our bug tracking system. We will let you know once there is any update.
Sorry for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Dec 04, 2019 12:47 pm

Thanks for the reply,

As I have my development in the production environment will be very important to have it fix soon as possible.

Thank You
Thank You

mferraro15@gmail.com
 
Posts: 57
Joined: Tue Mar 19, 2019 6:41 pm

Thu Dec 05, 2019 1:43 am

Hi,

We have already given your issue the highest priority. We will let you know as soon as it is fixed.
Apologize for the inconvenience.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Dec 05, 2019 12:42 pm

Thank You.
Thank You

mferraro15@gmail.com
 
Posts: 57
Joined: Tue Mar 19, 2019 6:41 pm

Fri Dec 13, 2019 10:29 am

Hi,

Glad to inform you the issue is solved. Please download the hotfix from following link:
http://www.e-iceblue.com/downloads/hot_ ... .12.15.zip

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Dec 16, 2019 2:09 pm

Hi,

It worked perfectly


Thank You
Thank You

mferraro15@gmail.com
 
Posts: 57
Joined: Tue Mar 19, 2019 6:41 pm

Tue Dec 17, 2019 1:30 am

Hi,

Thanks for your feedback.
Any question, just feel free to contact us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF