N2PDFSetProductCode

Start page  Previous page  Next page

 

N2PDFSetProductCode ( <Key> ) -> <ErrorCode>

 

Description

This function is used only in conjunction with an n2pdf OEM license. In addition to the registration key for validating the license, you also receive an additional key with the OEM license used to identify the OEM license. The license can only be properly validated with both keys. The N2PDFSetProductCode function is used to pass this licensing key to n2pdf. Additional information on using an OEM license is provided when the license is purchased.

 

Declaration for LotusScript

Declare Function N2PDFSetProductCode Lib LibName_

( ByVal ProductCode As String ) As Long

 

Parameters

<ProductCode> (STRING)

This is the OEM licensing key that is also needed for validating an OEM 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 ").