ImageGear .NET v25.2 - Updated
SelectedIndex Property




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > ChoiceField Class : SelectedIndex Property
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

Reference

ChoiceField Class
ChoiceField Members

Is this page helpful?
Yes No
Thanks for your feedback.