ImageGear PDF v25.2 - Updated
AddOption(String) Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > ComboBox Class > AddOption Method : AddOption(String) Method
The text to display in the new option.
Adds an option to the ComboBox.
Syntax
'Declaration
 
Public Overloads Function AddOption( _
   ByVal optionLabel As String _
) As ChoiceOption
'Usage
 
Dim instance As ComboBox
Dim optionLabel As String
Dim value As ChoiceOption
 
value = instance.AddOption(optionLabel)
public ChoiceOption AddOption( 
   string optionLabel
)
public: ChoiceOption* AddOption( 
   string* optionLabel
) 
public:
ChoiceOption^ AddOption( 
   String^ optionLabel
) 

Parameters

optionLabel
The text to display in the new option.

Return Value

A newly-added ChoiceOption object.
See Also

Reference

ComboBox Class
ComboBox Members
Overload List

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