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.

Convert from word docx to pdf got wrong layout

Thread ID:

Created:

Updated:

Platform:

Replies:

105123 Sep 10,2012 06:28 PM Sep 17,2012 01:27 AM Windows Forms 4
loading
Tags: DocIO
Tony Qu
Asked On September 10, 2012 06:28 PM

Hi,

We just bought the SyncFusion package (version number is 10.1.0.44) and  tried to convert a word document to a PDF with DocToPDFConverter.base, version 10.103.0.44 using the following code (VB.net 2010):
                
        Dim worddoc As WordDocument = New WordDocument

        .........some code to append paragraph to the word doc......................

        worddoc.Save("c:\\tony\\Sample.docx", FormatType.Automatic)

        Dim converter As New DocToPDFConverter()
        Dim pdfDoc As PdfDocument = converter.ConvertToPDF(worddoc)
        pdfDoc.Save("c:\\tony\\Sample.pdf")
     

Attached .zip file contains both the source word document and the PDF converted result.
As you can see, the PDF document result has different layout to the source, i.e text becomes left justified when shouldn't, and the worst thing is somehow the last word shows "division
sion" which means the word has been wrong separated and repeated wrongly in the document.

So can you please give a code snippet or advise to solve this issue?

Thank you,

Jiewen


sample_25414181.zip

Deivaselvan Y [Syncfusion]
Replied On September 11, 2012 07:35 AM

Hi Jiewen,

Thank you for your interest in Syncfusion products.

The mentioned text preservation issue has been fixed in our latest release that is rolled out and available for download under below location. Please try upgrading to our latest version (10.3.0.43) and let us know whether the issue is resolved.

Download Link:
http://www.syncfusion.com/support/forums/general/104795/Essential-Studio-2012-Volume-3-Final-Release-v103043-available-for-download

For your reference we have attached the converted PDF document. Please do find the document from the attachment.

Please let us know if you have any other questions.

Regards,
Deiva selvan



ConvertedPDF_39b483f1.zip

Tony Qu
Replied On September 11, 2012 11:02 AM

Hi  Deiva 

Thank you for your quick response and that pdf with attached is what we are looking for. 

However after downloaded the package version 10.3.0.43 (Essential Studio 2012 Vol3?), we start the installation and entered the key we bought for Syncfusion Essential Studio Enterprise Binary v10.1 at Mar.28th, 2012. into "Unlock Key", but it said "You entered an invalid key" (this key works well in 10.1 installation). So we are wondering if we need to buy a new key for the this upgrading or you need our licence key for upgrading etc.

Please let us know or you can send email directly to the email address registered in your forum.

Thanks a lot

regards,

Jiewen

Tony Qu
Replied On September 11, 2012 06:44 PM

Hi, 

Any update for the licence? 

Thanks

Jiewen

Sivaguru S [Syncfusion]
Replied On September 17, 2012 01:27 AM

Hi Jiewen,

Thanks for the update.

Since all our keys are version-specific, you need to install the Essential Studio Setup with the respective version unlock  key. Also please make sure that there is no blank space in the starting and ending of the unlock key that is entered in the unlock key option.

You can generate the respective version's license key from our website by logging in to your support account in Direct Trac and going to the ‘Product Downloads and Keys page’ from the Direct Trac customer dashboard.

Please use the link below to go to that page.

http://www.syncfusion.com/support/directtrac/myproducts

You need to choose the version(10.3.0.43) for which you need the key from the 'Get Your Key Here' drop-down box so that you can get the key for the version you need to install.

Please let us know,if you have any queries.

Regards,
Sivaguru S


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.

;