Skip to main content
Participant
April 19, 2023
Question

Can a PDF contain multiple highlights/shapes, all pointing to the same comment? (Images included)

  • April 19, 2023
  • 1 reply
  • 1401 views

Note: Images included towards the end

 

I have an XFDF file (xml) that open on tops of a particular PDF and highlights some content on the PDF (basically draws a rectangle shape) as per the metadata given in the XFDF. Now each of these highlights / shapes have their own comment in the comments section (by default). 

 

Is there a way to create highlights/shapes without any comment in the comments section.

or

Is there a way to make multiple highlights/shapes point to one single comment.

 

Example below:
Actual Output

 

Expected Output: 

 

Please share if this is feasible.

 

 

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
April 19, 2023

- Only if you flatten them.

- No.

Participant
April 19, 2023

Could you tell what you meant flattening them?

try67
Community Expert
Community Expert
April 19, 2023

It means converting them into static contents. You can do it using this script, for example:

this.flattenPages();

Note this will affect all the comments, fields and links in the file, though!