Set the application configuration file.
This can be used in situations in which you have a custom config
file for your application - most commonly on Linux.
On Windows ABCpdf first looks for preferences in the default
config file. For an executable this will be app.config in the same
directory as the executable. For a web site it will be a web.config
at the root of the web app. Under Linux this does not happen.
If a preference is not found here then any config file specified
using the SetConfigFile method will be scanned for an appropriate
setting. If the method has not been called and you are on Linux
then the default config file will be used -
On Windows if the preference is still not found then the
registry will be scanned for the value.
Finally if no value has been found then a default will be
Here is an example of a .config file that contains a valid
ABCpdf config section. The illustrated ABCpdf preferences are
TempDirectory and MakeURLsUnique.
<?xml version="1.0" encoding="utf-8"?>
<section name="ABCpdf13" type="
restartOnExternalChanges="true" requirePermission="true" />
Important: <configSections> must appear
before <startup> if <startup> exists.