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. Image for the cookie policy date

Convert from word docx to pdf got wrong layout

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

4 Replies

DY Deivaselvan Y Syncfusion Team September 11, 2012 11:35 AM UTC

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


TQ Tony Qu September 11, 2012 03:02 PM UTC

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


TQ Tony Qu September 11, 2012 10:44 PM UTC

Hi, 

Any update for the licence? 

Thanks

Jiewen


SS Sivaguru S Syncfusion Team September 17, 2012 05:27 AM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon