N2PDFSetKeyFilename |
Start page Previous page Next page |
N2PDFSetKeyFileName ( <KeyFileName> ) -> <ErrorCode>
Description The N2PDFSetKeyFileName function lets you use a file other than N2PDF.INI, which will contain the registration key for validating the license. The registration key is read from the N2PDF.INI file by default. If you have a central configuration file for your application, then you can save the registration key there and use this function to inform n2pdf that this is the file to be used. However, you must ensure that the configuration file is structured as described in the document "Registration Key".
Declaration for LotusScript Declare Function N2PDFSetKeyFileName Lib LibName_ ( ByVal KeyFileName As Unicode String ) As Long
Parameters <KeyFileName> (UNICODE STRING) The name of the configuration file (including path name and file extension) from which the registration key is to be read. 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 "). |