[tool] Match (copy) markup properties

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Mathew
User
Posts: 787
Joined: Thu Jun 19, 2014 7:30 pm

[tool] Match (copy) markup properties

Post by Mathew »

[Edit] :roll: I didn't realize there was already a built-in tool that does most of this - not sure when it was added (at least since v9.5 - maybe earlier) but I missed it for sure! From the right click context menu, Style Tools > Copy Comment Style
image(3).png

This tool will match properties (colors, lineweights and styles, etc) from the selected markup (annotation) to the next selected annotation. It can copy properties between markups in different documents. If you hold down shift, it will stay active and keep changing properties until the tool is selected again.


Installation
Extract the zip file and put into the Javascripts folder. Detailed instructions here viewtopic.php?p=196006#p196006
matchProps v1.0.1.zip

Usage
When PXCE is restarted, it adds a button to the Add-on Tools:
image.png
Select the tool with one markup (annotation) selected; then select another markup to transfer the properties to the second markup.

If Ctrl key is held down when selecting the tool, it opens an options dialog:
image(1).png
If Shift key is held down, the tool stays active (similar to selecting "Keep Selected" for built-in tools). The button will stay highlighted while the tool is active.
image(2).png
Select the tool button again to cancel; or close the dialog box that opens in the lower right corner of the screen:
image(4).png
Animation with Ctrl held down when picking the tool:
match properties.gif
Previous version
matchProps v0.1.zip
You do not have the required permissions to view the files attached to this post.
Last edited by Mathew on Wed Feb 18, 2026 7:17 pm, edited 10 times in total.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12597
Joined: Wed Jan 03, 2018 6:52 pm

[tool] Match markup (annotation) properties

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
DanA
User
Posts: 7
Joined: Fri Jul 11, 2025 5:43 am

Re: [tool] Match (copy) markup properties

Post by DanA »

Matthew,

Very nice tool! Thank you for sharing. It makes copying properties so much easier. My only request would be for the ESC key to allow for cancelling the SHIFT repeat mode instead of having to hit the button again.

Dan
Mathew
User
Posts: 787
Joined: Thu Jun 19, 2014 7:30 pm

Re: [tool] Match (copy) markup properties

Post by Mathew »

Thank you. I can think of a way to cancel with ESC. Will try
User avatar
Sean - PDF-XChange
Site Admin
Posts: 861
Joined: Wed Sep 14, 2016 5:42 pm

Re: [tool] Match (copy) markup properties

Post by Sean - PDF-XChange »

Thanks Mathew,

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
Mathew
User
Posts: 787
Joined: Thu Jun 19, 2014 7:30 pm

Re: [tool] Match (copy) markup properties

Post by Mathew »

OK, I made some revisions to the tool. I could not make the ESC key work, but it opens a progress dialog at the bottom of the screen that one can close to cancel the tool. I think this is a bit more intuitive. I also added the options to copy Rotation and Blend Mode.
image.png
matchProps v1.0.1.zip
Changes in v1.0.1
  • slight icon change;
  • show thermometer so that tool can be cancelled by closing thermometer;
  • add rotation & blendMode;
  • save last setting for "keep selected";
  • code cleanup;
  • show which properties are changing;
  • save setting for blendMode;
  • allow copying between documents
You do not have the required permissions to view the files attached to this post.
Last edited by Mathew on Wed Feb 18, 2026 7:13 pm, edited 1 time in total.
User avatar
Sean - PDF-XChange
Site Admin
Posts: 861
Joined: Wed Sep 14, 2016 5:42 pm

Re: [tool] Match (copy) markup properties

Post by Sean - PDF-XChange »

Hi Mathew,

Okay, that's great - thanks for that.

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623