ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / ChoiceField Class / RemoveOption Method
The index of the option in the field options array to be removed.




In This Topic
    RemoveOption Method
    In This Topic
    Deletes an option from the choice field.
    Syntax
    'Declaration
     
    Public Sub RemoveOption( _
       ByVal index As Integer _
    ) 
    'Usage
     
    Dim instance As ChoiceField
    Dim index As Integer
     
    instance.RemoveOption(index)
    public void RemoveOption( 
       int index
    )
    public: void RemoveOption( 
       int index
    ) 
    public:
    void RemoveOption( 
       int index
    ) 

    Parameters

    index
    The index of the option in the field options array to be removed.
    Exceptions
    ExceptionDescription
    If the supplied index is out-of-bounds.
    See Also