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

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

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.

2 Replies

TE Testname April 22, 2016 06:09 AM UTC

Example, attachment

Attachment: noImages_fe9f1c5.7z


SV Sarathkumar V Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon