IPXC_Annotation.Type values

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, 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
mmasood
User
Posts: 101
Joined: Fri Sep 18, 2015 9:49 pm

IPXC_Annotation.Type values

Post by mmasood »

Hi,

I am trying to determine different types of annotations contained within a pdf file. The article that is on the help site:

https://sdkhelp.pdf-xchange.com/vie ... ation_Type

does not have any information on what different types returned could be.

Can I get the list of the possible return values the Type property returns?

Regards,
M
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IPXC_Annotation.Type values

Post by Sasha - Tracker Dev Team »

Hello mmasood,

The values themselves should be taken from the PDF specification and converted to ULONG using StrToAtom method. For example:

Code: Select all

ULONG atom = pxsInst.StrToAtom("Circle");
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
mmasood
User
Posts: 101
Joined: Fri Sep 18, 2015 9:49 pm

Re: IPXC_Annotation.Type values

Post by mmasood »

Hi Alex,

I have a PDF file that has an invalid signature. When I open up the file I get the warning "At least one signature is invalid."

I have looked at the annotation and it is a Widget. My question is that is there a way with the Core Api that I can know that there is a warning related to Widget?

Regards,
M
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IPXC_Annotation.Type values

Post by Sasha - Tracker Dev Team »

Hello mmasood,

As far as I know, you can't do that through the Core API. What you can do is get the IPXC_FormFild from the Widget Annotation. And check it's type - in your case it should be the FFT_Signature. Though you won't be able to see whether this warning is related to this widget, if I understood you correctly.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply