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

ItemCount Property

Get item count.

Type

Long (read-only)

Remarks

N/A.

Example Usage

Set oDocument = CreateObject("easyPDF.PDFDocument.8")
 
oDocument.Open "c:\test\input.pdf"
Set oFormFields = oDocument.FormFields
 
For Each oFormField In FormFields
    Select Case oFormField.Type
        Case easyPDFDocument.docFormFieldType.DOC_FRMTYPE_CHECK
            Set oChoiceField = oFormField
            For I = 0 To oChoiceField.ItemCount - 1
                MsgBox "Value: " + oChoiceField.ItemValue(I)
            Next I
        End Select
Next oFormField
 
oDocument.Close False