StartEngine method |
[Top] [Chapter] [Previous] [Next] |
Applies to used by OCX: function StartEngine(const DLLName: WideString; const LicenseName: WideString; const LicenseCode: WideString; LicenseNumber: Integer): WordBool; used by .NET Assembly: public bool SetLicense(String Name, String Code, uint Number) This method must be used to start the PDF and text creation. It is also possible, and recommended for ASP use, to load the license info from a file.
Example: pdf.SetLicense("@FILE@" + password,"C:\\License\\rtflicense.dat",0); Please make sure the IIS_IUSRS have read access to this file, otherwise the following code will fail.
The license file can be created inside the provided demo exe: |