Word to HTML -- where are the images?

Help again!!

I’m converting an existing Word doc to both PDF and HTML, and it contains some images. The images are included in the PDF file, but aren’t being stored in the save path along with the PDF and HTML files. Actually, I can’t find if they are being saved anywhere separately. From another post, I read that the images are automatically saved to the folder where the files are saved to.

Is there something special I have to do to extract the images from the Word doc during the conversion? I’m just using:

Document doc = new Document(input);
doc.Save(htmlFile, SaveFormat.FormatHtml);

Thanks,
Sharon.

Hi Sharon,

The images might be deleted by Aspose.Pdf after conversion to PDF. Check if you have this line in your code:

pdf.IsImagesInXmlDeleteNeeded = true;

and if it is there, either comment it out or set this property to false.

So stupid !!! Yes, that is all it was Embarrassed

Thanks.