IPXC_AnnotData_Markup and Tooltip

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Sean - Tracker, Vasyl-Tracker Dev Team, Chris - Tracker Supp, 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.
Post Reply
khho
User
Posts: 33
Joined: Fri Mar 11, 2022 11:02 am

IPXC_AnnotData_Markup and Tooltip

Post by khho »

Hi all,
if I add an annotation this way

Code: Select all

IPXC_Annotation pAnnot = pdfView.Doc.CoreDoc.Pages[pdfView.CurrentPage].InsertNewAnnot(uLine, namedDestBox, 0); 
IPXC_AnnotData_Markup FTData = (IPXC_AnnotData_Markup)pAnnot.Data;

FTData.Title = namedDestID;

pAnnot.Data = FTData;
...
the Tooltip of the annotation shows the content of FTData.Title

If I code in addition

Code: Select all

FTData.Subject = somethingelse;
the tooltip looks the same

If I code in addition

Code: Select all

FTData.Contents = somethingelse;
The the Tooltip of the Annotation shows the content of FTData.Title, a <br>(?) and the content FTData.Contents

Is there a way that only FTData.Subject is shown as tooltip?

Regards and thanks
khho
khho
User
Posts: 33
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

Any idea?
:idea:
khho
User
Posts: 33
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

No chance?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17237
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: IPXC_AnnotData_Markup and Tooltip

Post by Tracker Supp-Stefan »

Hello khho,

Apologies for the delay in getting back to you on this topic.
I've asked my colleagues from the dev team to take a look and we will post a reply as soon as possible!

Kind regards,
Stefan
khho
User
Posts: 33
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

Hello Stefan,
thank you.
khho
User
Posts: 33
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

No news?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17237
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: IPXC_AnnotData_Markup and Tooltip

Post by Tracker Supp-Stefan »

Hello khho,

Apologies for the delay. I've just asked for your case to be reviewed with priority!

Kind regards,
Stefan
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2323
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: IPXC_AnnotData_Markup and Tooltip

Post by Vasyl-Tracker Dev Team »

Is there a way that only FTData.Subject is shown as tooltip?
Unfortunately, there is no way to do it at the moment.

But in the next build you will be able to use new parameter:

/*
DispShowSubj = 0x01,
DispShowAuthor = 0x02,
DispShowDate = 0x04,
DispShowTime = 0x08,
DispShowContent = 0x10,
*/

pdfCtl.Inst.Settings["Commenting.TooltipDispOptions"].v = 0x01 | 0x04 | 0x08; // show subject&datetime only
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
khho
User
Posts: 33
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

Thank you!
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17237
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

IPXC_AnnotData_Markup and Tooltip

Post by Tracker Supp-Stefan »

:)
Post Reply