We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image handling during file conversion

When converting a .doc file to HTML is there a way to specifiy a directory any images in the file are placed? Currently the graphics are being placed in C:\Documents and Settings\mabrown\Local Settings\Temp\ but I would like them to go into a network directory instead. Is there a setting to do this?

This message was posted using Aspose.Live 2 Forum

If you save it to a stream, you can set document.SaveOptions.ExportImagesFolder.

Thanks. That will work great. One last question, when specifying the path do I need a trailing slash? eg. Would the code be:

doc.SaveOptions.ExportImagesFolder = "C:\ImageFolder\Aspose"


doc.SaveOptions.ExportImagesFolder = “C:\ImageFolder\Aspose”

I don’t think the trailing ‘’ matters. You can try it yourself.