ChartDirector 7.0 (Perl Edition)

perlchartdir.setLicenseCode


Usage

setLicenseCode(licCode)

Description

Sets the license code into ChartDirector.

This method is for applying the license code of a ChartDirector Redistribute License to an application. With this method, the license code will be compiled into the application executable and redistributed with the application, and ChartDirector will run in licensed mode when used by the application.

This method only needs to be called once per executable instance. Typically, it is called during program initialization.

Arguments

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

Return Value

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