Hi there,
Hopefully someone might be able to explain this one.
A couple of weeks ago I wrote a script that made use of the 'add.WatermarkFromText();' function, all worked fine.
Now when I come to run the same script I get the error:-
RaiseError: Incorrect PDEObject type.
Doc.addWatermarkFromText:1:Console undefined:Exec
===> Incorrect PDEObject type.
undefined
I've tried to execute a more simplified test from the Javascript Reference, shown below, and I still get the same error?
I've tried this is both Acrobat Pro 8 and 9 and get the same in both.
this.addWatermarkFromText("Confidential", 0, font.Helv, 24, color.red);
Please can someone tell me if something has changed?
Thanks in advance.
Regards,
Nick
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com