ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / RadioGroup Class / AddOption Method / AddOption(RadioButtonWidgetAnnotation,String) Method
The radio button widget for the field. It contains both the page, location and size information.
The export value of the new radio button option.




In This Topic
    AddOption(RadioButtonWidgetAnnotation,String) Method
    In This Topic
    Adds an option to the radio group. The option can be anywhere in the document.
    Syntax
    'Declaration
     
    Public Overloads Function AddOption( _
       ByVal widget As RadioButtonWidgetAnnotation, _
       ByVal exportValue As String _
    ) As ChoiceOption
    'Usage
     
    Dim instance As RadioGroup
    Dim widget As RadioButtonWidgetAnnotation
    Dim exportValue As String
    Dim value As ChoiceOption
     
    value = instance.AddOption(widget, exportValue)

    Parameters

    widget
    The radio button widget for the field. It contains both the page, location and size information.
    exportValue
    The export value of the new radio button option.

    Return Value

    A newly-added ChoiceOption.
    See Also