Skip to content

Getting Information from Paratext

Mike Pelley edited this page May 10, 2021 · 5 revisions

The plugin can get information from Paratext about the current user via the IPluginHost interface class. The IPluginHost has the following get-only members related to user information:

  • UserInfo which has:
    • Name
  • UserSettings which has:
    • UiLocale
    • IsDragAndDropEnabled
    • IsInternetAccessEnabled
    • IsFirefoxHardwareAccelerationEnabled
    • IsSynchronizedScriptureReferencesEnabled
    • ShowFullMenus
    • AutoSave

The UserSettings also has an event for UiLocaleChanged that the plugin can add a handler to so that the plugin is notified when the UiLocale for the user is changed.

Clone this wiki locally