Hello,
following discussion on this post:
The code allows me to add a button with an image. But I would like to be able to use the dynamic fields of the PDF.
Off the button is in the foreground.
I was thinking of adding : pageField.flattenButton
It does not work. Can someone help me ?
Sorry for my English.
following discussion on this post:
VBA to place images inside a PDF???
Hey guys, Is it possible to use VBA to place images inside an existing PDF with accuracy and precision? Even better, could VBA be used to place said images into an INDD file? If not, is there a different scripting language that is suited for such a task? I’ve been creating print-advertising...
www.mrexcel.com
The code allows me to add a button with an image. But I would like to be able to use the dynamic fields of the PDF.
Off the button is in the foreground.
VBA Code:
'Add button with image to this page
Set pageField = jso.addField("button" & page + 1, "button", page, fieldRect)
pageField.buttonImportIcon imageFile
pageField.buttonPosition = jso.Position.iconOnly
pageField.ReadOnly = True
pageField.flattenButton
I was thinking of adding : pageField.flattenButton
It does not work. Can someone help me ?
Sorry for my English.