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

ItemDisplayName Property

Get the display name of an item.

Property ItemDisplayName(Index As Long) As String

string get_ItemDisplayName(int Index)

String getItemDisplayName(int Index) throws PDFDocumentException

Type

String (read-only)

Parameters

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 "Display Name: "+ oChoiceField.ItemDisplayName(I)
            Next I
        End Select
Next oFormField
 
oDocument.Close False