hide standard stamp palette

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
chavas
User
Posts: 141
Joined: Tue Mar 15, 2016 12:21 pm

hide standard stamp palette

Post by chavas »

Hi,

Some of our users want to hide the Standard stamps palette. They have designed their own stamps and do not use the default stamps. I saw the following topic in your knowledgebase.
https://www.pdf-xchange.com/knowle ... nge-Editor

This works for your end user component. Is something similar possible with Editor SDK control?
We do not want to hide it for all users...only those who want to hide it will use this.
We are using PDF Editor SDK version V6.0.322.7

Rgds

Charu
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: hide standard stamp palette

Post by Sasha - Tracker Dev Team »

Hello Charu,

Well you will have to write this to registry via the code. What you can do is get the StampsView.HiddenItems array-type cab node. And add the items mentioned in the KB to it. Note that this will need to be done before the Control initializes itself so that the settings would take place

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
chavas
User
Posts: 141
Joined: Tue Mar 15, 2016 12:21 pm

Re: hide standard stamp palette

Post by chavas »

Hi Alex,

I can make these registry entries manually no problems with that.... But I cannot write this code in my program as that would cause this change for all other users too.
I added these registries (as mentioned in my prev post) in but does not work for my editor. It works for your end-user control..
Is there any settings in registry or settings.dat which will hide or minimize standard stamp palette.

Rgds
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: hide standard stamp palette

Post by Sasha - Tracker Dev Team »

Hello Charu,

OK, another way - just remembered:
https://forum.pdf-xchange.com/ ... ps#p109611

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
chavas
User
Posts: 141
Joined: Tue Mar 15, 2016 12:21 pm

Re: hide standard stamp palette

Post by chavas »

Hi Alex,

This would not work for my case as I do not want to write some code for this as that would be common for all users and not everybody wants to hide standard stamps palette. It would be good if the collapsed state of standard stamps is remembered and saved by PDF editor control or if there is some registry settings/some thing in settings.dat to make this work.
Any other ideas???

Rgds
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: hide standard stamp palette

Post by Sasha - Tracker Dev Team »

Hello Charu,

Well it's only this, that I mentioned before:
https://www.pdf-xchange.com/forum3 ... 48#p116252

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
chavas
User
Posts: 141
Joined: Tue Mar 15, 2016 12:21 pm

Re: hide standard stamp palette

Post by chavas »

Alex,

You mentioned in the post- https://www.pdf-xchange.com/forum3 ... ps#p109611
that pdf editor should remember the collapsed state of stamp palettes and that you have passed on this issue to a developer.
Has it been fixed? or are you guys going to fix it in the near future?

Rgds
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: hide standard stamp palette

Post by Sasha - Tracker Dev Team »

Hello Charu,

The stamps dropdown list's behavior differs from the Stamps View, because we are selecting the last used stamp in the dropdown. By default it a Draft stamp from the Standard collection - thus it auto expands itself. If you would select a stamp from another collection and collapse the Standard collection - it's state will be remembered.
To change the currently selected stamp (the default stamp for your users), you can use the https://sdkhelp.pdf-xchange.com/vie ... ectedStamp property.

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