easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

FormField Object Description

This object represents a form field.

Note: Modification of barcode/special appearance field is not supported.


FormField serves as a direct base class for ChoiceField and TextField.

Example Usage

Set oDocument = CreateObject("easyPDF.PDFDocument.8")
oDocument.Open "c:\test\input.pdf"
Set oFormFields = oDocument.FormFields
For Each oFormField In FormFields
    MsgBox "Field name: " + oFormField.Name
Next oFormField
If FormFields.Count > 0 Then
    oFormField = FormFields.Item(0)
End If
' If you already know the field name,
' then you can directly access them
oFormField = FormFields.Item("Name")
oDocument.Close False