You can do this with Acrobat X Pro, but you need to use the javascript API in C #.
AcroPDDoc pdfd = new AcroPDDoc(); pdfd.Open(sourceDoc.FileFullPath); Object jsObj = pdfd.GetJSObject(); Type jsType = pdfd.GetType(); //have to use acrobat javascript api because, acrobat object[] saveAsParam = { "newFile.doc", "com.adobe.acrobat.doc", "", false, false }; jsType.InvokeMember("saveAs",BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance,null, jsObj, saveAsParam, CultureInfo.InvariantCulture);
Hope this helps.
jle
source share