Hi support,
When using the IPXV_DocHighlighter, the Add method accepts pRegions (and other parameters) which I set to IPXC_QuadsF, and returns IPXV_DocHighlightItem.
This all works well.
Question: is there a way to retrieve pRegions back from the created IPXV_DocHighlightItem ?
Why: I'm allowing the user to select various pieces of text in the document and upon selection I highlight them. When "finished" I want to do something to the highlighted regions - say underline (similar to what the Search Pane's "Underline Search Results" does).
p.s.
I could, of course, have an internal list of highlight items storing along the used IPXC_QuadsF - but I'm expecting there's a way to extract that somehow from the IPXV_DocHighlighter (?).
-žarko
Retrieve pRegions from IPXV_DocHighlightItem SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 799
- Joined: Thu Sep 05, 2019 12:35 pm
- Sasha - Tracker Dev Team
- User
- Posts: 5198
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Retrieve pRegions from IPXV_DocHighlightItem SOLVED
Hello žarko,
I'm afraid that you will have to store your added highlight regions in your inner structures as you are doing now.
Cheers,
Alex
I'm afraid that you will have to store your added highlight regions in your inner structures as you are doing now.
Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 799
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Retrieve pRegions from IPXV_DocHighlightItem
Hi Alex,
Good enough, thanks.
-ž
Good enough, thanks.
-ž
- Sasha - Tracker Dev Team
- User
- Posts: 5198
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Retrieve pRegions from IPXV_DocHighlightItem

Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ