Is there any documentation on different annotation settings?

PDF-XChange Editor SDK for Developers

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.
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Is there any documentation on different annotation settings?

Post by RMan »

Is there any documentation explaining the various values for the style settings for annotations that I'm missing?

Inspecting the line tool annotation current style I get the following results and I think I've figured most of them out.

tool.annot.line
A=1 dt_Double - Opacity in decimal 0.0 to 1.0
B= dt_Dictionary -????Guessing Border Style Dictionary which would contain width???
BM=0 dt_Int - Blend Mode https://sdkhelp.pdf-xchange.com/vie ... BlendModes
FC="-" dt_String - Fill Color RGB(1.0,0.5,0.0) or RGBD(255,128,0) or "-" for none
ID="" dt_String
LE=0 dt_Int - Line Ending Style https://sdkhelp.pdf-xchange.com/vie ... dingStyles
LS=0 dt_Int - Line Start Style https://sdkhelp.pdf-xchange.com/vie ... dingStyles
SC="rgbd(0,255,0)" dt_String - Fill Color RGB(1.0,0.5,0.0) or RGBD(255,128,0)
ST=0 dt_Int - Subject Type 0=Default, 1=Global, 2=Custom
LCI=True dt_Bool - Caption Inline
LCV=False dt_Bool - Caption Show (Visible)
LES=0 dt_Double - Line Ending scale in decimal percent 0=Auto
LLE=0 dt_Double - Leader extension in decimal points
LLL=0 dt_Double - Leader length in decimal points
LLO=0 dt_Double - Leader offset in decimal points
LSS=0 dt_Double - Line Start scale in decimal percent 0-=Auto
Subj="" dt_String - Subject if ST = 2
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Is there any documentation on different annotation setti

Post by Sasha - Tracker Dev Team »

Hello RMan,

How did you get these values? Have you used some enumeration for the CAB nodes?
As for the Border style, I think this should help:
https://sdkhelp.pdf-xchange.com/vie ... nnotBorder

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Re: Is there any documentation on different annotation setti

Post by RMan »

Thanks

Yes I did it the hard way by enumerating the Cab Values and then changing some of the properties I wasn't sure about to get most of it.

I'll add it to the VB6 sample project I'm working on and post an update later today.

I was hoping there was an easy object oriented way to do it for the current tool but I couldn't find it. I found the IPXC_AnnotData has a BlendMode property but I'm guessing that's only for modifying or creating new annotations.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Is there any documentation on different annotation setti

Post by Sasha - Tracker Dev Team »

Hello RMan,

Well we are planning to do the VS tool that would allow to browse through the CAB nodes. I will inform you when its ready.

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