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

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support