We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Blank page added to PDF

Thread ID:

Created:

Updated:

Platform:

Replies:

98227 Feb 15,2011 01:08 PM Feb 22,2011 05:07 AM Windows Forms 7
loading
Tags: PDF
GC
Asked On February 15, 2011 01:08 PM

I create a Word document using the MailMerge functions of DocIO. Get a 2-page document. I then convert it to PDF using DocToPDFConverter. The pdf.Pages.Count function returns 2. But Acrobat (whether Pro 6.0 or Reader 10.1) renders 3 pages, the last one being blank...

Gilles


Geetha M [Syncfusion]
Replied On February 16, 2011 04:58 AM

Hi Giles,

Thank you for your interest in Syncfusion products.

I am afraid that I am not able to reproduce the problem. I have placed the test sample in the following link.

F98227-1661555029.zip

Could you please try running the above sample and if you could still see the problem, modify it and send back to me?

Regards,
Geetha


GC
Replied On February 16, 2011 01:38 PM

Attached is the Word document that I convert to a PDF by using:

Dim converter As New DocToPDFConverter
Dim pdf As PdfDocument = converter.ConvertToPDF(doc)
Debug.Print pdf.Pages.Count 'Returns 2

I also attached the PDF. You'll see that it is rendered as 3 pages.

TIA,

Gilles



Doc+PDF_f2b2d973.zip

Geetha M [Syncfusion]
Replied On February 17, 2011 02:36 AM

Hi Gilles,

Thank you for the update.

I am afraid that the attachment link is broken. Could you please resend it?

Regards,
Geetha


GC
Replied On February 17, 2011 09:06 AM

Here you go.

Gilles



Result_1eee9ca1.zip

Geetha M [Syncfusion]
Replied On February 18, 2011 03:28 AM

Hi Gilles,

Thank you for the details.

I was not able to reproduce this problem in v9.1.0.20. Could you please consider upgrading to this version?

Link:
http://www.syncfusion.com/downloads/latest-version

Please let me know if you have any other questions.

Regards,
Geetha


GC
Replied On February 18, 2011 10:33 AM

I am on 9.103.0.20.

When you look at the PDF do you see 2 or 3 pages?


Geetha M [Syncfusion]
Replied On February 22, 2011 05:07 AM

Hi Gilles,

In 9.1.0.20 both document.Pages.Count and Adobe results 2. I have placed the modified sample along with the input and output files in the link below.

F98227-1586320014.zip

Please let me know if you have any questions.

Regards,
Geetha


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;