ImageGear .NET - Updated December 24, 2018
AddOption(String,String) Method




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

Parameters

optionLabel
The text to display in the option.
exportValue
The export value of the option.

Return Value

A newly-added ChoiceOption.
See Also

Reference

ComboBox Class
ComboBox Members
Overload List