ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Form Class / CreateListBox Method / CreateListBox(String,ImGearPDFPage,ImGearPDFFixedRect) Method
The full name of the field to add, including partial names.
The page to insert the field on.
The location on the page to insert the field.




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

    Parameters

    fullName
    The full name of the field to add, including partial names.
    page
    The page to insert the field on.
    rect
    The location on the page to insert the field.

    Return Value

    A newly-added ListBox 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 fullName argument is null or empty, the page argument is null, or the rect argument is null.
    See Also