lock selection of fill / stroke color

PDF-XChange Editor SDK for Developers

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.
Post Reply
User avatar
Posts: 153
Joined: Thu Apr 07, 2011 10:01 am

lock selection of fill / stroke color

Post by MartinCS » Tue Sep 11, 2018 7:00 am

Hi Tracker Team,

is there an option to prevent the user selection of fill and stroke color for commenting tools?
I'm already setting the default color programmatically. But the user shouldn't be able to change the selection.


User avatar
Sasha - Tracker Dev Team
Posts: 5042
Joined: Fri Nov 21, 2014 8:27 am

Re: lock selection of fill / stroke color

Post by Sasha - Tracker Dev Team » Tue Sep 11, 2018 11:40 am

Hello Martin,

For starters, you should remove those items from the annotation properties (if you want to forbid your users to change that). Here's how it can be done:
viewtopic.php?f=66&t=28041&p=108883&hil ... st#p108883
Then you will have to obtain the cmd.scolor and cmd.fcolor IUIX_Cmd from the command manager and set their states to disabled or hidden (or both).

Join us at Google+:
Subscribe at:

Post Reply