ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Form Class / CreateListBox Method / CreateListBox(String,ListBoxWidgetAnnotation) Method
The full name of the field to add, including partial names.
The list box widget containing the page the locaton to insert the field.




In This Topic
    CreateListBox(String,ListBoxWidgetAnnotation) Method
    In This Topic
    Add a new ListBox to a PDF page.
    Syntax
    'Declaration
     
    Public Overloads Function CreateListBox( _
       ByVal fullName As String, _
       ByVal widget As ListBoxWidgetAnnotation _
    ) As ListBox
    'Usage
     
    Dim instance As Form
    Dim fullName As String
    Dim widget As ListBoxWidgetAnnotation
    Dim value As ListBox
     
    value = instance.CreateListBox(fullName, widget)
    public ListBox CreateListBox( 
       string fullName,
       ListBoxWidgetAnnotation widget
    )
    public: ListBox* CreateListBox( 
       string* fullName,
       ListBoxWidgetAnnotation* widget
    ) 
    public:
    ListBox^ CreateListBox( 
       String^ fullName,
       ListBoxWidgetAnnotation^ widget
    ) 

    Parameters

    fullName
    The full name of the field to add, including partial names.
    widget
    The list box widget containing the page the locaton to insert the field.

    Return Value

    A newly-added ListBox field.
    Exceptions
    ExceptionDescription
    Thrown in case of error. In common case it is the widget argument is null and fullName argument is null or empty. Exception message will specify what is wrong.
    See Also