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

How to duplicate/copy button icons on multiple pages

New Here ,
Nov 02, 2017 Nov 02, 2017

I need to use the same button icons throughout the PDF (around 12 button icons).

How can I copy/save/duplicate icons dynamically on different pages? I mean some icons are changing according to user choices and eventually all of them should return to the initial state - this is the case when I want these icons to be copied from some "global" storage.

Thanks a lot.

TOPICS
Acrobat SDK and JavaScript
668
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
Community Expert ,
Nov 04, 2017 Nov 04, 2017
LATEST

This is more of a JavaScript question (as well as your other one). You should use this forum for that: JavaScript

Using JS you can create an Icon object and then apply it as the icon of multiple button fields.

See the importIcon and getIcon methods of the Document object for more details.

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