Deselect checkmark option in Tool->Edit-Preferences-Commenting

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.
Post Reply
asamrith@gmail.com
User
Posts: 91
Joined: Fri Sep 16, 2016 12:03 am

Deselect checkmark option in Tool->Edit-Preferences-Commenting

Post by asamrith@gmail.com »

Hi, If you navigate on the toolbar to Edit->Preferences-Commenting, the option ☑ Display Author Label in comment pop-ups and tooltips is selected by default. How do I deselect in C# code, this option? I could not located the command in the Fulldemo command list. I have attached a pic of this.
Attachments
deselect tool-edit-preferernces-commenting.JPG
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Deselect checkmark option in Tool->Edit-Preferences-Commenting

Post by Sasha - Tracker Dev Team »

Hello asamrith@gmail.com,

Use this piece of code:

Code: Select all

uint nPopupFlags = (uint)pdfCtl.Inst.Settings["Commenting.PopupDispOptions"].Int;
uint nAuthorFlag = 0x2;
nPopupFlags = nPopupFlags & ~nAuthorFlag; //Removing the Author flag
pdfCtl.Inst.Settings["Commenting.PopupDispOptions"].v = nPopupFlags;
uint nRPopupFlags = (uint)pdfCtl.Inst.Settings["Commenting.PopupReplyDispOptions"].Int;
nRPopupFlags = nRPopupFlags & ~nAuthorFlag;
pdfCtl.Inst.Settings["Commenting.PopupReplyDispOptions"].v = nRPopupFlags;
pdfCtl.Inst.FireAppPrefsChanged(PXV_AppPrefsChanges.PXV_AppPrefsChange_Commenting);
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
asamrith@gmail.com
User
Posts: 91
Joined: Fri Sep 16, 2016 12:03 am

Re: Deselect checkmark option in Tool->Edit-Preferences-Commenting

Post by asamrith@gmail.com »

thanks so much, exactly what I was looking for... : :)
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Deselect checkmark option in Tool->Edit-Preferences-Commenting

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply