Help in Preflight
i want find errors in pdf using preflight, using following code wanted know preflight object is? how declare it? not compiling.
i using acrobat ole using javascript.
var oprofile = preflight.getprofilebyname("magazine ads")
if( oprofile != undefined )
{
var othermometer = app.thermometer;
var mypreflightresult = this.preflight( oprofile, false, othermometer);
if( mypreflightresult.numerrors > 0 )
{
console.println( "preflight found " + mypreflightresult.numerrors + " errors.");
}
else
{
console.println( "preflight found no errors.");
}
what version of acrobat have?
More discussions in Acrobat SDK
adobe
Comments
Post a Comment