ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / ChoiceField Class / SelectedIndex Property




In This Topic
    SelectedIndex Property
    In This Topic
    Gets or sets the selected index.
    Syntax
    'Declaration
     
    Public Property SelectedIndex As Integer
    'Usage
     
    Dim instance As ChoiceField
    Dim value As Integer
     
    instance.SelectedIndex = value
     
    value = instance.SelectedIndex
    public int SelectedIndex {get; set;}
    public: __property int get_SelectedIndex();
    public: __property void set_SelectedIndex( 
       int value
    );
    public:
    property int SelectedIndex {
       int get();
       void set (    int value);
    }

    Property Value

    The 0-based selected index for the field.
    Exceptions
    ExceptionDescription
    If the supplied index is out-of-bounds.
    See Also