C# call Javascript at folder level and get "value does not fall within the expected range"
i want convert pdf postscript. after doing research, wrote following code got exception mentioned in title.
acropddoc acropddoc = new acropddoc();
var rc3 = acropddoc.open(source);
var jso = acropddoc.getjsobject();
var = jso.pdf2ps();
acropddoc.close();
javascript in c:\program files (x86)\adobe\adobat 2015\acrobat\javascripts. commented real code , returned value still got above exception. please help. in rush deliver piece of code. thank much. j
function pdf2ps()
{
//var pp = this.getprintparams();
//pp.filename = filename;
//pp.printername = "";
//this.print(pp);
return 12345;
}
why instead of using saveas() method?
have consulted documentation or tyring entirely sample code online??
More discussions in Acrobat SDK
adobe
Comments
Post a Comment