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

CustomValue Property

Get/Set custom value.

Type

String

Remarks

When CustomValueEnabled = True, the combo box includes an editable fields, as well as a drop-down list. CustomValue contains the value entered into the editable field.

Example Usage

Set oDocument = CreateObject("easyPDF.PDFDocument.8")
 
Call oDocument.Open("c:\test\input.pdf")
Set oFormFields = oDocument.FormFields
 
For Each oFormField In FormFields
    Select Case oFormField.Type
        Case easyPDFDocument.docFormFieldType.DOC_FRMTYPE_COMBO
            Set oComboField = oFormField
            If oComboField.CustomValueEnabled Then
                MsgBox "Custom Value: " + oComboField.CustomValue
            End If
    End Select
Next oFormField
 
oDocument.Close(False)