Referencing graphic objects of type "path" via Javascript

New Here ,
Mar 13, 2019

Copy link to clipboard

Copied

Using the Object Inspector on the object of interest to me, it is reported as "Stroked Path:  Constant"

2019-03-13_17-24-05.png

Object Inspector:

2019-03-13_17-27-44.png

The object is a simple red line (indicated by orange arrow above) which overlays several images on each page of the PDF document.  It can be selected using Edit Object tool and moved around the page.

Is it possible to reference these graphic objects of type "path" via Javascript.  I would like to delete them on all pages.

The "graphic objects" of which I am referring do not seem to be those created by the Comment annotations as no annotations are listed for the document.

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

Not possible. No access to graphical objects at all from JavaScript, with the sole exception of text extraction a word at a time.

TOPICS
Acrobat SDK and JavaScript

Views

76

Likes

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

Referencing graphic objects of type "path" via Javascript

New Here ,
Mar 13, 2019

Copy link to clipboard

Copied

Using the Object Inspector on the object of interest to me, it is reported as "Stroked Path:  Constant"

2019-03-13_17-24-05.png

Object Inspector:

2019-03-13_17-27-44.png

The object is a simple red line (indicated by orange arrow above) which overlays several images on each page of the PDF document.  It can be selected using Edit Object tool and moved around the page.

Is it possible to reference these graphic objects of type "path" via Javascript.  I would like to delete them on all pages.

The "graphic objects" of which I am referring do not seem to be those created by the Comment annotations as no annotations are listed for the document.

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

Not possible. No access to graphical objects at all from JavaScript, with the sole exception of text extraction a word at a time.

TOPICS
Acrobat SDK and JavaScript

Views

77

Likes

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
Mar 13, 2019 0
Most Valuable Participant ,
Mar 14, 2019

Copy link to clipboard

Copied

Not possible. No access to graphical objects at all from JavaScript, with the sole exception of text extraction a word at a time.

Likes

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
Reply
Loading...
Mar 14, 2019 1