ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Form Class / CreateComboBox Method / CreateComboBox(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
    CreateComboBox(String,ImGearPDFPage,ImGearPDFFixedRect) Method
    In This Topic
    Add a new ComboBox to a PDF page.
    Syntax
    'Declaration
     
    Public Overloads Function CreateComboBox( _
       ByVal fullName As String, _
       ByVal page As ImGearPDFPage, _
       ByVal rect As ImGearPDFFixedRect _
    ) As ComboBox
    'Usage
     
    Dim instance As Form
    Dim fullName As String
    Dim page As ImGearPDFPage
    Dim rect As ImGearPDFFixedRect
    Dim value As ComboBox
     
    value = instance.CreateComboBox(fullName, page, rect)
    public ComboBox CreateComboBox( 
       string fullName,
       ImGearPDFPage page,
       ImGearPDFFixedRect rect
    )
    public: ComboBox* CreateComboBox( 
       string* fullName,
       ImGearPDFPage* page,
       ImGearPDFFixedRect* rect
    ) 
    public:
    ComboBox^ CreateComboBox( 
       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 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 fullName argument is null or empty, the page argument is null, or the rect argument is null.
    See Also