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

Setting default properties for highlight text in Adobe Acrobat using Javascript

New Here ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

I am having a problem finding articles or references which allows me to set the default properties of highlight text command like making the default stroke color to yellow.

 

References that I read only shows the code.

var annot = this.addAnnot({type: "Line"})
annot.setProps({
page: 0,
points: [[10,40],[200,200]],
strokeColor: color.red,
author: "A. C. Robat",
contents: "Check with Jones on this point.",
popupOpen: true,
popupRect: [200, 100, 400, 200], // place rect at tip of the arrow
arrowBegin: "Diamond",
arrowEnd: "OpenArrow"
})

 

TOPICS
How to , JavaScript

Views

210

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
Community Expert ,
Feb 25, 2021 Feb 25, 2021

Copy link to clipboard

Copied

LATEST

Not possible.

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