ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Form Class / CreateTextField Method / CreateTextField(String,ImGearPDFPage,ImGearPDFFixedRect) Method
The full name of the field.
The page on which the field should appear.
The bounding box for the field.




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

    Parameters

    fullName
    The full name of the field.
    page
    The page on which the field should appear.
    rect
    The bounding box for the field.

    Return Value

    A TextField.
    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