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

Word to pdf

without removing, leaving out pictures in that word document

2 Replies

TE Testname April 21, 2016 12:26 PM UTC

passing a memory stream to the Word, I did this, but the images are missing:

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

                    DocToPDFConverter converter = new DocToPDFConverter();

                    PdfDocument pdfDoc = converter.ConvertToPDF(wordDoc);

                    pdfDoc.Save(tempWordPdfFile);
                    pdfDoc.Save(_tempMemoryStream); 
                    _tempDatei = _tempMemoryStream.ToArray();

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


VR Vijay Ramachandran Syncfusion Team April 22, 2016 11:04 AM UTC

Hi,

Thank you for contacting Syncfusion support.

We are unable to reproduce the mentioned image missing issue in Word to PDF conversion with the given details. Kindly provide us input document which is used at your end to reproduce the issues in our end.

Regards,
Vijay R


Loader.
Live Chat Icon For mobile
Up arrow icon