Hi,
is it possible to hide the toolbar completely? If yes, how?
Thanks,
Thomas
Hide toolbar completely
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Hide toolbar completely
Hello Thomas,
You have posted in the Viewer SDK forums, so I will assume you are using this SDK, but please note that this is now an older and no longer actively developed product, as it was replaced by the Editor SDK.
The easiest way to customize all toolbars is to install the end user Viewer, customize all toolbars to the state you want them all to be, and then export the settings to a file. Then in your project use LoadSettings() immediately after initializing the Viewer AX Control.
Regards,
Stefan
You have posted in the Viewer SDK forums, so I will assume you are using this SDK, but please note that this is now an older and no longer actively developed product, as it was replaced by the Editor SDK.
The easiest way to customize all toolbars is to install the end user Viewer, customize all toolbars to the state you want them all to be, and then export the settings to a file. Then in your project use LoadSettings() immediately after initializing the Viewer AX Control.
Regards,
Stefan
-
- User
- Posts: 35
- Joined: Tue Oct 06, 2015 1:09 pm
Re: Hide toolbar completely
Hello Stefan,
ok, thank you. I know the viewer is not supported any more, but the editor has the restriction regarding multiple instances of the activeX control.
It would be more secure for us if we had not to use a settings file, since we had to distribute the file to all end user work stations. Is there a more "intrinsic" way to hide the toolbar?
Thank you.
Regards,
Thomas
ok, thank you. I know the viewer is not supported any more, but the editor has the restriction regarding multiple instances of the activeX control.
It would be more secure for us if we had not to use a settings file, since we had to distribute the file to all end user work stations. Is there a more "intrinsic" way to hide the toolbar?
Thank you.
Regards,
Thomas
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Hide toolbar completely
Hi Thomas,
The settings file I suggested will reside inside your own application's folder and the users won't know and see it at all, as the loading will be done though code as well, but yes there is a direct way as well - you can control the visibility of toolbars through code as shown in the samples here:
https://help.pdf-xchange.com/DEV/de ... xactphrase
Regards,
Stefan
The settings file I suggested will reside inside your own application's folder and the users won't know and see it at all, as the loading will be done though code as well, but yes there is a direct way as well - you can control the visibility of toolbars through code as shown in the samples here:
https://help.pdf-xchange.com/DEV/de ... xactphrase
Regards,
Stefan
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Hide toolbar completely
Hi, Thomas.
There is a way to hide/show(toggle) all toolbars visibility. You may run command ID:33015 ("Show/Hide All Bars").
Also you may hide each toolbar individually (exists more than one toolbars if you noticed it). Look to to our sample
<Program Files>\Tracker Software\PDF-XChange Viewer SDK\Examples\C#Examples\FullDemo
- the 'View' tab in UI.
HTH.
There is a way to hide/show(toggle) all toolbars visibility. You may run command ID:33015 ("Show/Hide All Bars").
Also you may hide each toolbar individually (exists more than one toolbars if you noticed it). Look to to our sample
<Program Files>\Tracker Software\PDF-XChange Viewer SDK\Examples\C#Examples\FullDemo
- the 'View' tab in UI.
HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.