function configurePad(Certificate: ShortString; ShowSimpleDialog, AutostartIfSimpleDialog, SaveToRegistry: Boolean; var Padsettings: ShortString): Boolean;
BOOL SOPAD_configurePad(const char* szCertificate, BOOL bShowSimpleDialog, BOOL bAutostartIfSimpleDialog, BOOL bSaveToRegistry, char szPadSettings[SOPAD_MAX_STRING_LENGTH]);
HRESULT configurePad([in] BSTR Certificate, [in] VARIANT_BOOL ShowSimpleDialog, [in] VARIANT_BOOL AutostartIfSimpleDialog, [in] VARIANT_BOOL SaveToRegistry, [in, out] BSTR* Padsettings, [out, retval] VARIANT_BOOL* Value);
configurePad replaces getPadSettings.
contains the certificate that has formerly been given to setPadsetting. Currently it is obsolete, replaced by XML certificate.
If set to true the Signature Device Interface Window will appear in the new simple style.
If set to false the window will look like in the former versions including manual configuration mode.
If set to true the dialog "Please connect your signature device now" will not be shown and the application will automatically start to search for a signature device.
If set to true the setting of the signature device will be stored in registry under: HKEY_CURRENT_USER\Software\STEPOVER\SignaturePadDriver->padsettings. (function startCapture is also using this path).
Contains the PadSettings string as formerly given to setPadsettings. configurePad returns the new settings in this variable (also if SaveToRegistry is set to true). If no pad has been configured before (or if you use SaveToRegistry and startCapture with ReadAndSaveInRegistry set to true) you can handle an empty string to this function.
The PadSettings are changed to "" when the Search Dialog is canceled. So the user should use a local variable here, and if the function returns true use this local variable.
configurePad returns true if a signature device has been found, selection Ok in dialog.