The server directory path where LEADTOOLS looks for the license file.
LTHelper.licenseDirectory = (default value);
static licenseDirectory: string;
The server directory path where LEADTOOLS looks for the license file. Default value is "LEADTOOLS".
Refer to LEADTOOLS Nag Message for more information on obtaining and using a LEADTOOLS license.
A user may change this field's value from the default string "LEADTOOLS" to any desired string. This string will be interpreted as a directory
in which to look for the LeadtoolsLicense.txt
license file. The field may be set any number of times before the license is checked.
Changing the default location might be desirable in some situations. For example, if the application is an ASP.NET MVC and all the project resources are to placed in other locations than the root.
Examples:
This will search for the license in the directory above the project.
lt.LTHelper.licenseDirectory = "../LEADTOOLS";
This will search for the license in [ProjectDir]/Custom/Directory/Here
lt.LTHelper.licenseDirectory = "Custom/Directory/Here";
Additional notes:
The string provided must not have a trailing "/"
, as this character is added later
To set the directory to the root directory, pass the empty string ""
instead of the keywords
'null'
or 'undefined'
.