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

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"));
                            oAllegatoPdf.Close();
                            oAllegatiPDF.Add(sAllegato.Replace(".doc", ".pdf"));
                        }

Thanks id advance,
best regards

Andrea

4 Replies

AF andrea fanara February 19, 2016 06:49 AM

p.s. this is the file .doc

Attachment: 20846_9a1d35ec.rar


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

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.

Regards,
Sarath



AF andrea fanara February 22, 2016 10:21 AM

Thank you Sarath!

Andrea


SV Sarathkumar V Syncfusion Team February 22, 2016 11:33 PM

Hi andrea,

Thank you for update.

Please contact us if you need any further assistance.

Regards,
Sarath

Loader.
Live Chat Icon For mobile
Up arrow icon