Free Support Forum - aspose.com

What image formats does DocumentBuilder.InsertImage() support?

Hi,

I've noticed that DocumentBuilder.InsertImage() can also work with image formats that aren't in the ImageType Enum, such as gif, tif and rle. I need to be able to insert a whole bunch of image formats other than those in the ImageType Enum to a document, are there any other supported formats like these?

Thanks,

Itai.

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. There is InsertImage method overload, which accepts Image object as a parameter.

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/aspose.words.documentbuilder.insertimage_overload_1.html

So you can insert any image from which you can create image object.

Best regards.