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
IPXC_Annotation.Type values
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.
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: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: IPXC_Annotation.Type values
Hello mmasood,
The values themselves should be taken from the PDF specification and converted to ULONG using StrToAtom method. For example:
Cheers,
Alex
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");
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: IPXC_Annotation.Type values
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
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
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: IPXC_Annotation.Type values
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
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
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ