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

Javascript Pencil/Pen Tool

New Here ,
Sep 16, 2018 Sep 16, 2018

Copy link to clipboard

Copied

Hello,

I'm attempting to create a button in acrobat that will also work within reader dc.

I want to be able to click a button and it selects the pen/pencil tool.

I seem to be able to get it to work in acrobat 9, but it doesn't follow across to Reader.

Is there document javascript I could include to make this work?

Is there also any scripting I could use to set the colour of the pencil?

TOPICS
Acrobat SDK and JavaScript

Views

645

Translate

Translate

Report

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 , Sep 17, 2018 Sep 17, 2018

The only way I'm aware of doing that is by executing that menu item, but since it doesn't appear in the list it might have been an undocumented feature, and as such likely to get broken between versions, if the name changes.

And it's not possible to set the default color used by the pencil.

PS. I'm moving your question to the Acrobat JavaScript forum.

Votes

Translate

Translate
Community Expert ,
Sep 17, 2018 Sep 17, 2018

Copy link to clipboard

Copied

LATEST

The only way I'm aware of doing that is by executing that menu item, but since it doesn't appear in the list it might have been an undocumented feature, and as such likely to get broken between versions, if the name changes.

And it's not possible to set the default color used by the pencil.

PS. I'm moving your question to the Acrobat JavaScript forum.

Votes

Translate

Translate

Report

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