Inserting MDI file

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

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:
https://www.codeproject.com/Articles/10130/OCR-with-Microsoft-Office
Regards,