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, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
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: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
-
- User
- Posts: 5522
- 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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Retrieve pRegions from IPXV_DocHighlightItem
Hi Alex,
Good enough, thanks.
-ž
Good enough, thanks.
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Retrieve pRegions from IPXV_DocHighlightItem
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ