Forms

 

Start page  Previous page  Next page

 

N2PDFOPTION_WS_FORMSIMPORT_ADD

This option allows you to fill form fields in existing PDF forms. To do so, simply send the required field information before the form to be filled in is sent.

 

 

Example:

 

Call N2PDFSetOption ( JobID, N2PDFOPTION_WS_FORMSIMPORT_ADD, "CompanyName", CStr(doc.COMPANYNAME(0)) )

 ' set checkbox value'

 If (CStr(doc.SUBSCRIPTION(0)) = "1") Then

         Call N2PDFSetOption ( JobID, N2PDFOPTION_WS_FORMSIMPORT_ADD, "Subscription", "Yes" )

 End If

               

Status = N2PDFAddAttachment ( JobID, 0, 0, db.Server, db.FilePath, docForm.UniversalID, "File",     "" )