var licenseDirectory
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:
lt.LTHelper.licenseDirectory = "../LEADTOOLS";
Will search for the license in the directory above the project.
lt.LTHelper.licenseDirectory = "Custom/Directory/Here";
Will search for the license in [ProjectDir]/Custom/Directory/Here
Additional notes:
"/"
, as this character is added later""
instead of the keywords 'null'
or 'undefined'
.