How to reset viewer?

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

How to reset viewer?

Post by cew »

Hi all,

I want the user to present a pre-configured viewer by activating some toolbars with some added commands.
This default should be code driven without a default settings file.

The he can customize the viewer on his own and save to file.

How can I now implement a "Reset to defaults" method to set back all settings to my initial settings?

What is the best practice for that?

My first approach was to enable some toolbars when initializing the viewer.
But in case of reset, how can i get a resetted viewer without any UI prompt like command #36374 does?
The PXCVA_NoUI doesn't work ...

Best regards
cew
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: How to reset viewer?

Post by Stefan - PDF-XChange »

Hello Cew,

I have asked Vasyl to have a look at this topic, and we will reply a bit later with any comments or suggestions.

Best,
Stefan
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: How to reset viewer?

Post by Corwin - Tracker Sup »

Hi cew,

You can always load your custom settings from file - this will reset user changes in UI.

HTH.