N2PDFAddVariable

Start page  Previous page  Next page

 

N2PDFAddVariable ( <JobID>, <VariableOption>, <VariableName>, <VariableContent> ) -> <ErrorCode>

 

Description

You can use this function to fill a variable with unformatted (plain) text. For more information on defining and using variables please read the document entitled "Variables".

 

Declaration for LotusScript

Declare Function N2PDFAddVariableW Lib LibName_

( ByVal JobID As Long,ByVal VariableOption As Long,_

ByVal VariableName As Unicode Unicode String,_

ByVal VariableContent As Unicode Unicode String ) As Long

 

Parameters

<JobID> (LONG)

The number that is returned when N2PDFInit is invoked and which references the PDF file in the memory. You use this ID to control which PDF you want to access with the function.

 

<VariableOption> (LONG)

This parameter is currently not being used, so please set it to 0.

 

<VariableName> (UNICODE STRING)

This is the name of the variable that is to be filled with a plain text.

 

<VariableContent> (UNICODE STRING)

This is the content to be filled with the variable <VariableName>.

 

Return

<ErrorCode> (LONG)

The code number of the error that has occurred when performing the function (see "Error Codes ").