ImageGear v26.0 - Updated
Value Property (ComboBox)




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > ComboBox Class : Value Property
Gets or sets the value of the field. The value may be the export value of one of the options, or, if Edit is set, it may specify a custom text.
Syntax
'Declaration
 
Public Property Value As String
'Usage
 
Dim instance As ComboBox
Dim value As String
 
instance.Value = value
 
value = instance.Value
public string Value {get; set;}
public: __property string* get_Value();
public: __property void set_Value( 
   string* value
);
public:
property String^ Value {
   String^ get();
   void set (    String^ value);
}

Property Value

The export value of one of the options or a custom text.
Exceptions
ExceptionDescription
If Edit is not set, attempting to enter a value that does not exist as an option in the field.
See Also

Reference

ComboBox Class
ComboBox Members

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