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




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

    Parameters

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

    Return Value

    A newly-added ChoiceOption.
    See Also