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.

Problem with CovertToPDF

Thread ID:

Created:

Updated:

Platform:

Replies:

122138 Feb 19,2016 06:44 AM Feb 22,2016 11:33 PM WPF 4
loading
Tags: DocIO
andrea fanara
Asked On February 19, 2016 06:44 AM

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

andrea fanara
Replied On February 19, 2016 06:49 AM

p.s. this is the file .doc

Attachment: 20846_9a1d35ec.rar

Sarathkumar V [Syncfusion]
Replied On 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


andrea fanara
Replied On February 22, 2016 10:21 AM

Thank you Sarath!

Andrea

Sarathkumar V [Syncfusion]
Replied On February 22, 2016 11:33 PM

Hi andrea,

Thank you for update.

Please contact us if you need any further assistance.

Regards,
Sarath

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.

;