A more detailed description of the SaveSettings function

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
ap_mi
User
Posts: 47
Joined: Mon Aug 31, 2015 11:38 pm

A more detailed description of the SaveSettings function

Post by ap_mi »

Hello,

The documentation describes a function called SaveSettings which saves the control's settings to a data file. Is there a more detailed description as to what specific settings get saved?

Do these settings include all properties that we set programatically via the SetProperty function?

Thanks.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: A more detailed description of the SaveSettings function

Post by Tracker Supp-Stefan »

Hello Ap_mi,

As per the help page:
"https://help.pdf-xchange.com/DEV/de ... vesettings"
"Save all control settings to an external storage method of your choosing."

This is pretty much equivalent to "Edit -> Export all settings to data file" from inside the UI of the Viewer itself.
There are no options to e.g. export only part of the settings unlike in the Editor, where you can export only some parts.

This settings file will include toolbar layouts, custom shortcuts and any other customisations you might do to the UI, so if you export the settings, and then import them every time you load the control - that's a quick way to apply multiple UI customizations.

Regards,
Stefan
Post Reply