SecureViewerReload
SecureViewerReload is a built-in scripting function that closes the Secure Viewer program and then reloads it with a new configuration file.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
SecureViewerReload | Module Activity | Synchronous | Not Supported | Not Supported | Secure Viewer only | Not supported |
Syntax
- strFileName
- The file path of an INI file (*.ini) that describes the new configuration. (If the file is located in the same folder as Viewer.exe, then only the file name is needed.) The file should be structured the same and contain all of the same settings as the default configuration file (Viewer.ini).
This parameter must specify either the name of a String tag or a text string enclosed in quotes.
Returned value
This function does not return any value.
Examples
SecureViewerReload( configFile1 )
SecureViewerReload( "C:Program FilesSecure ViewerBinConfig1.ini" )