Inserting MDI file


#1

I have a situation where I need to append a Microsoft Document Imaging File (*.mdi) to a Word document. The MDI files are stored in a SQL Server database and are available as a Stream. We already successfully insert images using the DocumentBuilder.InsertImage; however, a System.Drawing.Image cannot be created from the MDI stream.

Any suggestions?

Thanks

Ron


#2

Unfortunately, the only library that actually supports handling mdi images is Microsoft Office Document Imaging 11.0 Type Library that comes with MS Office 2003. Here is an article on how to interact with it from .NET application:

http://www.codeproject.com/csharp/MODI.asp

Regards,