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.
Syncfusion Feedback

No pictures after converting from word to pdf using a bytearray for my memorystream

Thread ID:

Created:

Updated:

Platform:

Replies:

123797 Apr 22,2016 06:03 AM UTC Apr 25,2016 11:36 AM UTC ASP.NET MVC (Classic) 2
loading
Tags: DocIO
Testname
Asked On April 22, 2016 06:03 AM UTC

Hello,

I am using:

using (MemoryStream ms = new MemoryStream(byteArray))
                {
                    WordDocument wordDoc = new WordDocument(ms);

                    DocToPDFConverter converter = new DocToPDFConverter();

                    PdfDocument pdfDoc = converter.ConvertToPDF(wordDoc);

                    pdfDoc.Save(tempWordPdfFile);   

                    wordDoc.Close();
                    converter.Dispose();
                    pdfDoc.Close();
                }

The input from the word comes from "byteArray".
Using "byteArray" for word will give me the correct word, but as soon as I try to convert it to PDF it will render an result without any images.

Testname
Replied On April 22, 2016 06:09 AM UTC

Example, attachment

Attachment: noImages_fe9f1c5.7z

Sarathkumar V [Syncfusion]
Replied On April 25, 2016 11:36 AM UTC

Hi Customer,

Thank you for using Syncfusion products.

On further analyzing your given input Word document, we have found that the input Word document contains Group Shapes and Custom Shapes and DocIO does not have support for this feature. We have considered this requirement as feature request and we have logged this feature request in our database. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. The feature will be available in any of our upcoming releases. Please check our website periodically to know the status of the feature.

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.

Warning Icon 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.Close Icon

;