ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / RadioGroup Class / AddOption Method / AddOption(ImGearPDFPage,ImGearPDFFixedRect,String) Method
The page of the new radio button option.
The bounds of the new radio button option.
The export value of the new radio button option.




In This Topic
    AddOption(ImGearPDFPage,ImGearPDFFixedRect,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 page As ImGearPDFPage, _
       ByVal rect As ImGearPDFFixedRect, _
       ByVal exportValue As String _
    ) As ChoiceOption
    'Usage
     
    Dim instance As RadioGroup
    Dim page As ImGearPDFPage
    Dim rect As ImGearPDFFixedRect
    Dim exportValue As String
    Dim value As ChoiceOption
     
    value = instance.AddOption(page, rect, exportValue)
    public ChoiceOption AddOption( 
       ImGearPDFPage page,
       ImGearPDFFixedRect rect,
       string exportValue
    )
    public: ChoiceOption* AddOption( 
       ImGearPDFPage* page,
       ImGearPDFFixedRect* rect,
       string* exportValue
    ) 
    public:
    ChoiceOption^ AddOption( 
       ImGearPDFPage^ page,
       ImGearPDFFixedRect^ rect,
       String^ exportValue
    ) 

    Parameters

    page
    The page of the new radio button option.
    rect
    The bounds of the new radio button option.
    exportValue
    The export value of the new radio button option.

    Return Value

    A newly-added ChoiceOption.
    See Also