ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / Form Class / CreateTextField Method / CreateTextField(String,TextBoxWidgetAnnotation) Method
The full name of the field.
The text box annotation that is the visual representation of this text field.




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

    Parameters

    fullName
    The full name of the field.
    widget
    The text box annotation that is the visual representation of this text 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 widget argument is null or the fullName argument is null or empty.
    See Also