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
close icon

Problem with CovertToPDF

Hi, we have a problem with exportation of documents.
In particular when we pass the attached document, with the exportation in pdf we lose the last two images. (p.s. if we reduce manually from .doc the last two images, we obtain what we want, but is not the best solution)
Have you an idea to resolve the problem?
Below the code we use:

  foreach (String sAllegato in oAllegatiWord)
                            Syncfusion.DocToPDFConverter.DocToPDFConverter DocConverter = new Syncfusion.DocToPDFConverter.DocToPDFConverter();
                            PdfDocument oAllegatoPdf = DocConverter.ConvertToPDF(sAllegato);
                            oAllegatoPdf.Save(sAllegato.Replace(".doc", ".pdf"));
                            oAllegatiPDF.Add(sAllegato.Replace(".doc", ".pdf"));

Thanks id advance,
best regards


4 Replies

AF andrea fanara February 19, 2016 11:49 AM UTC

p.s. this is the file .doc

Attachment: 20846_9a1d35ec.rar

SV Sarathkumar V Syncfusion Team February 22, 2016 10:20 AM UTC

Hi andrea,

Thank you for using Syncfusion Controls.

We are able to reproduce the mentioned image preservation issue in Word to PDF conversion and it will be fixed in our upcoming 2016 Volume 1 release which is expected to be in the mid of March 2016.


AF andrea fanara February 22, 2016 03:21 PM UTC

Thank you Sarath!


SV Sarathkumar V Syncfusion Team February 23, 2016 04:33 AM UTC

Hi andrea,

Thank you for update.

Please contact us if you need any further assistance.


Live Chat Icon For mobile
Up arrow icon