N2PDFSetKey |
Start page Previous page Next page |
N2PDFSetKey ( <Key> ) -> <ErrorCode>
Description This function is used to set the runtime for the n2pdf registration key. Instead of the registration key being read from the N2PDF.INI configuration file, the key set here is used for license validation. This method lets you place the registration key in the application's configuration and dynamically read and set it while it is being run.
Declaration for LotusScript Declare Function N2PDFSetKey Lib LibName_ ( ByVal Key As Unicode String ) As Long
Parameters <Key> (UNICODE STRING) This is the registration key to be used for validating the license. To reset this value, invoke this function with the parameter "".
Return <ErrorCode> (LONG) The code number of the error that has occurred when performing the function (see "Error Codes "). |