ChartDirector Ver 4.1 (PHP Edition Edition)

phpchartdir.setLicenseCode


Usage

setLicenseCode(licCode)

Description

Sets the license code into ChartDirector.

ChartDirector will automatically get it's license code from the file "chartdir.lic".

If for some reason, you do not want to use the "chartdir.lic" file (eg. you want to embed ChartDirector with your application, but you do not want people to see the "chartdir.lic" file), you may use the setLicenseCode method to hard code the license code into your source code.

If ChartDirector is run without any license code, it will run in evaluation mode.

Arguments

ArgumentDefaultDescription
licCode(Mandatory)A text string containing the license code.

Return Value

The error message, or an empty string if no error.