I want to change the text colour of a text box. Now I know how to do this, however the problem I have is that the op.annots.addNew or actually any annot event is not fired when placing the text box. These events only seem to be fired when you either hit ESC or place another annotation element etc.
Therefore I am unsure how to change the colour of the text when initially placed? I was thinking maybe somehow setting the Default Style for the Text Box prior to placing, however I am unsure how to do this via code?
Thanks
Simon
Change font colour when text box placed
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software
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.
Re: Change font colour when text box placed
Sorry to chase this up as I know I only posted it on Friday, but I was wondering if u have any idea about this?
Thanks
Simon
Thanks
Simon
Re: Change font colour when text box placed
Does anyone have any ideas about this
Thanks
Simon

Thanks
Simon
- Sasha - Tracker Dev Team
- User
- Posts: 4522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Change font colour when text box placed
Hello Simon,
Here's the topic that should help:
viewtopic.php?f=66&t=29952&p=118567&hil ... le#p118567
Cheers,
Alex
Here's the topic that should help:
viewtopic.php?f=66&t=29952&p=118567&hil ... le#p118567
Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ