show or hide watermarks in the pdf doucument


hi all,

 

how show or hide watermark digitally signed pdf document using java script.

use this:

 

function togglewm(vis) {

  o = this.getocgs();

  for(var i=0;i<o.length;i++) if (o[i].name == "watermark") o[0].state = vis;

}

 

then can call togglewm(true); etc required.



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support