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

RadiosInUnison Property

See if a group of radio buttons will turn on and off in unison.

Type

Boolean (read-only)

Remarks

If RadiosInUnison = False, radio buttons belonging to the same group are mutually exclusive, like HTML or Windows radio buttons; only one radio button in the same group can be checked at a time.

If RadiosInUnison = True, radio buttons belonging to the same group and sharing the same ItemValue turn on and off in unison; that is if one is checked, they are all checked.

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_RADIO
            Set oRadioField = oFormField
 
            If oRadioField.RadiosInUnison Then
                MsgBox "RadiosInUnison is on"
            Else
                MsgBox "RadiosInUnison is off"
            End If
    End Select
Next oFormField
 
oDocument.Close False