Copy link to clipboard
Copied
Hi,
I have question about PDF structure or JavaScript. I have page with graphics object like this:
q 0.999985 0.999985 0.999985 RG /a0 gs 0.5 w 2 J 0 j [] 0.0 d 3.25 M 40 980.602 1920 -941.387 re S Q
In my task I used graphics for easy vector interactive maps. Is there way how to insert “variable” because I would like make small changes in map and map is too big. It is possible used multiple copies of graphics with small changes but why. I would like change fill color (0.999985 0.999985 0.999985 RG) or text contain. My idea is prepare array with constants and during javascript set position in array and in graphics used this reference.
Thank you.
Acrobat JavaScript can't manipulate PDF page content at that level. You'll need the plugin SDK for that kind of thing.
Copy link to clipboard
Copied
Acrobat JavaScript can't manipulate PDF page content at that level. You'll need the plugin SDK for that kind of thing.
Copy link to clipboard
Copied
Thank you that's exactly what I needed.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now