ImageGear PDF v25.1 - Updated
CreateComboBox(String,ComboBoxWidgetAnnotation) Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Form Class > CreateComboBox Method : CreateComboBox(String,ComboBoxWidgetAnnotation) Method
The full name of the field to add, including partial names.
The combo box widget containing the page and the location to insert the field.
Add a new ComboBox to a PDF page.
Syntax
'Declaration
 
Public Overloads Function CreateComboBox( _
   ByVal fullName As String, _
   ByVal widget As ComboBoxWidgetAnnotation _
) As ComboBox
'Usage
 
Dim instance As Form
Dim fullName As String
Dim widget As ComboBoxWidgetAnnotation
Dim value As ComboBox
 
value = instance.CreateComboBox(fullName, widget)
public ComboBox CreateComboBox( 
   string fullName,
   ComboBoxWidgetAnnotation widget
)
public: ComboBox* CreateComboBox( 
   string* fullName,
   ComboBoxWidgetAnnotation* widget
) 
public:
ComboBox^ CreateComboBox( 
   String^ fullName,
   ComboBoxWidgetAnnotation^ widget
) 

Parameters

fullName
The full name of the field to add, including partial names.
widget
The combo box widget containing the page and the location to insert the field.

Return Value

A newly-added ComboBox field.
Exceptions
ExceptionDescription
Thrown when an error occurs during method execution. Additional information about the error may be found in the message of the exception. Commonly occurs when the widget argument is null or the fullName argument is null or empty.
See Also

Reference

Form Class
Form Members
Overload List