Acrobat SDK pdf to text C# converter
Hi Acrobat Team,
Please suggest code working fine with 2017 acrobat plugin(Acrobat) but after install latest plugin is not working and not throw error. below sample C# code.
AcroPDDoc pdfd = new AcroPDDoc();
pdfd.Open("abc.pdf");
Object jsObj = pdfd.GetJSObject();
Type jsType = pdfd.GetType();
object[] saveAsParam = { "xya.doc", "com.adobe.acrobat.doc", "", false, false };
try
{
jsType.InvokeMember("saveAs", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, jsObj, saveAsParam, CultureInfo.InvariantCulture);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
