Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Variables in graphics PDF

Guest
Nov 10, 2016 Nov 10, 2016

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.

TOPICS
Acrobat SDK and JavaScript
405
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 10, 2016 Nov 10, 2016

Acrobat JavaScript can't manipulate PDF page content at that level. You'll need the plugin SDK for that kind of thing.

Translate
Community Expert ,
Nov 10, 2016 Nov 10, 2016

Acrobat JavaScript can't manipulate PDF page content at that level. You'll need the plugin SDK for that kind of thing.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 10, 2016 Nov 10, 2016
LATEST

Thank you that's exactly what I needed.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines