IPXC_AnnotData_Markup and Tooltip

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

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.
khho
User
Posts: 54
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: 54
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

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

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

No chance?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by Stefan - PDF-XChange »

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: 54
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

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

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

No news?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by Stefan - PDF-XChange »

Hello khho,

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

Kind regards,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: IPXC_AnnotData_Markup and Tooltip

Post by Vasyl - PDF-XChange »

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
PDF-XChange Co. LTD (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: 54
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

Thank you!
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

IPXC_AnnotData_Markup and Tooltip

Post by Stefan - PDF-XChange »

:)
khho
User
Posts: 54
Joined: Fri Mar 11, 2022 11:02 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by khho »

Vasyl-Tracker Dev Team wrote: Thu Oct 26, 2023 10:54 pm
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
Hi,
should this be possible in Build 10.1.3.383 ?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: IPXC_AnnotData_Markup and Tooltip

Post by Stefan - PDF-XChange »

Hello khho,

We just released build 384 last night. Can you please give that one a try?

Kind regards,
Stefan