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.
lidds
User
Posts: 510 Joined: Sat May 16, 2009 1:55 pm
Post
by lidds » Thu Jul 20, 2017 10:47 am
I am using the following code to place a line annotation. If for example I wanted the line to be blue, how would I go about doing this?
Code: Select all
Dim cmd As PDFXEdit.IUIX_Cmd = uiInst.CmdManager.Cmds.Find("cmd.tool.annot.line")
Me.docPreview.Inst.ExecUICmd2(cmd.ID)
Thanks in advance
Simon
Sasha - Tracker Dev Team
User
Posts: 5522 Joined: Fri Nov 21, 2014 8:27 am
Contact:
Post
by Sasha - Tracker Dev Team » Fri Jul 21, 2017 8:02 am
Hello lidds,
Well, you can change the standard Line tool color in settings for that. To find this setting use the CABNodeExplorer application.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
lidds
User
Posts: 510 Joined: Sat May 16, 2009 1:55 pm
Post
by lidds » Mon Jul 24, 2017 11:45 am
Hi Alex,
I'm still struggling with this as I am unsure how to achieve this. Would it be possible for a short code snippet??
Thanks in advance
Simon
Sasha - Tracker Dev Team
User
Posts: 5522 Joined: Fri Nov 21, 2014 8:27 am
Contact:
Post
by Sasha - Tracker Dev Team » Mon Jul 24, 2017 11:47 am
Hello Simon,
Have you tried using forum's search? I'm pretty sure there was a topic like this in the Editor SDK thread.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
lidds
User
Posts: 510 Joined: Sat May 16, 2009 1:55 pm
Post
by lidds » Mon Jul 24, 2017 3:31 pm
Hi Alex,
I have searched on the forums but cannot see any that address how to globally set the color of annotation elements.
Thanks
Simon