I can't see stroke lines in the hatch object. Does anyone know what might cause this?
Stroke Lines Issue
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
-
- User
- Posts: 6
- Joined: Mon Dec 18, 2023 9:13 pm
Stroke Lines Issue
You do not have the required permissions to view the files attached to this post.
-
- User
- Posts: 1725
- Joined: Sat Sep 11, 2021 5:04 am
Re: Stroke Lines Issue
Hello hasansins,
The command icon you are showing is not a hatching feature, just an iconic representation of the feature to measure area. The feature you are looking for is released by @Mathew in the following topic.
rakunavi
The command icon you are showing is not a hatching feature, just an iconic representation of the feature to measure area. The feature you are looking for is released by @Mathew in the following topic.
- Hatch pattern tool
viewtopic.php?t=40329
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
-
- Site Admin
- Posts: 11252
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Stroke Lines Issue
Hello,
Just to offer a quick "official" extrapolation on this. Technically speaking "hatched" areas are not a valid comment "fill" type according to the PDF specification, so it is not actually possible to create an "area" measurement (as a comment specifically) with hatching in place, without creating a non-compliant object, and risking damage or data loss in your files.
The best way to safely emulate that appearance, is a tool Like Mathew has created in the thread Rakunavi provided a link to.That tool specifically, takes a selected comment item, and converts it to a base content item, then applies a hatch like pattern as another set of base content items, filling the same shape. One major issue you may run into if you are specifically using the "area measure" is that, since this is no longer a comment, the measurement data is no longer present in the file after this conversion.
Minor Edit above. Mathew offers a correction to this statement below. Please see his post for how his own tool works.
Kind regards,
Just to offer a quick "official" extrapolation on this. Technically speaking "hatched" areas are not a valid comment "fill" type according to the PDF specification, so it is not actually possible to create an "area" measurement (as a comment specifically) with hatching in place, without creating a non-compliant object, and risking damage or data loss in your files.
The best way to safely emulate that appearance, is a tool Like Mathew has created in the thread Rakunavi provided a link to.
Minor Edit above. Mathew offers a correction to this statement below. Please see his post for how his own tool works.
Kind regards,
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
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
-
- User
- Posts: 600
- Joined: Thu Jun 19, 2014 7:30 pm
Re: Stroke Lines Issue
I ran into this thread by accident: Actually the hatch tool just creates another annotation for the hatch (it's officially an "ink" annotation) on top. Your original area annotation will remain untouched by the tool, so you can still get area from it. The difficulty is that javascript does not (yet) have a way to keep your original area markup in the front, so when clicking on it you may accidentally select the hatch annotation instead of your area. You can right click the hatch pattern, though, and send it behind your markup:Daniel - PDF-XChange wrote: ↑Wed Jul 02, 2025 3:56 pm The best way to safely emulate that appearance, is a tool Like Mathew has created in the thread Rakunavi provided a link to. That tool specifically, takes a selected comment item, and converts it to a base content item, then applies a hatch like pattern as another set of base content items, filling the same shape. One major issue you may run into if you are specifically using the "area measure" is that, since this is no longer a comment, the measurement data is no longer present in the file after this conversion.
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 11252
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Stroke Lines Issue
Hello, Mathew
Ohh sneaky, and my apologies, I might have given some outdated information, or just been entirely mistaken. I recall testing the tool in the early stages, I could have sworn that early on you had it flatten the creation into base content items, or am I mistaken there?
In any case, I am very glad to hear that the original comment does remain in place, that completely revokes my only worry for using this tool in that context! Excellent work once again Mathew!
Kind regards,
Ohh sneaky, and my apologies, I might have given some outdated information, or just been entirely mistaken. I recall testing the tool in the early stages, I could have sworn that early on you had it flatten the creation into base content items, or am I mistaken there?
In any case, I am very glad to hear that the original comment does remain in place, that completely revokes my only worry for using this tool in that context! Excellent work once again Mathew!

Kind regards,
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
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