views:

500

answers:

2

The customer wanna preview mpp content without open Project Professional.So I decide to convert mpp file to image file.

I already know that the Project Application interface has a method named EditCopyPicture can output to GIF,but when mpp is very large,gif doesnt look very vell.My boss tell me output to tif is a good solution.

I found the "Microsoft Office Document Imaging Writer" can print mpp to tif,but it will popup a dialog to let user select file save path,I'm developing a plugin for Project so I don't want to let user to do this.

I didnt find any method in Interop.Microsoft.Office.Interop.MSProject to set output file path explicitly.The method FilePrint also doesnt have any parameter to set it.

Could anyone help me?

A: 

One option may be to use Office automation to print to a postscript printer driver to get a (PostScript) PS file. This could then be converted to PDF using GhostScript so its can be opened in Acrobat Reader, this would work well for the Web.

Mark Redman
A: 

I found step by step tutorial for the same here : http://www.geekblogger.org/2010/06/save-microsoft-project-plan-mpp-as.html

andy