Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
- Only if you flatten them.
- No.
Copy link to clipboard
Copied
Could you tell what you meant flattening them?
Copy link to clipboard
Copied
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!