N2PDFSetConverterKey

Start page  Previous page  Next page

112

The function shown here is obsolete. It only exists for compatibility reasons and is no longer required in the current version of n2pdf.

 

N2PDFSetConverterKey ( <Key> ) -> <ErrorCode>

 

Description

This function is used to set the runtime for the n2pdf Attachment Converter 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.

 

112

Please keep in mind that as a rule n2pdf has a license that is restricted to an individual on the client side and to a version on the server side. This means that the registration key will only function with the Notes user name or the Domino server name for which it was issued. You must ensure that the correct user, or server, is using the right registration key.

 

Declaration for LotusScript

Declare Function N2PDFSetConverterKey Lib LibName_

( ByVal Key As String ) As Long

 

Parameters

<Key> (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 ").