Problems with VBA and javascript
i long time (mostly mainframe pl/1) programmer, retired, , self-taught vba programmer. have little experience of javascript.
i trying add watermark existing pdf using vba microsoft access.
here code snippet:
<-----
' works ok
' add form field
set field = jso.addfield("myformfield", "text", 0, rect)
field.value = "testing"
' add watermark
' ********* works
jso.addwatermarkfromtext ("testing text")
' ********* below gives syntax error - if add after "confidential"
' ********* acrobat api reference says syntax
jso.addwatermarkfromtext ("testing text", 0, font.helv, 24, color.red)
--->
i suspect i'm missing obvious - can help?
whoops!. please read "testing text" instead of "confidential".
More discussions in Coding Corner
adobe
Comments
Post a Comment