views:

72

answers:

1

I need to find a way of converting Word Doc files to Jpeg of Tiff files using C#/.NET. I cannot use any virtual printing drivers such as Microsoft Office Document Imaging. I can only use C# and/or C++ Libraries. Are there any free methods or APIs to accomplish this?

A: 

You have to convert it to something first - such as PDF. Then you can run ghostscript to convert it to your jpg/tiff files.

You can write a program in c# that..

  • opens word, prints all docs in a folder to PDF driver and closes,
  • and then converts all PDFs in folder to tiff/jpeg using ghostscript,
  • and then deletes all intermediate PDF Docs.

I know you say you can't use a virtual printing driver but I'm pretty sure you have to.

rrrhys