Click or drag to resize

FormFieldTextBox Class

A single-line or multi-line text field.
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.PDFFormsFormField
    ExpertPdf.Anywhere.PDFFormsFormFieldTextBox

Namespace: ExpertPdf.Anywhere.PDFForms
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class FormFieldTextBox : FormField

The FormFieldTextBox type exposes the following members.

Properties
 NameDescription
Public propertyDisplayPageGets the zero-based index of the page the field is on, or -1.
(Inherited from FormField)
Public propertyDisplayRectangleGets the field rectangle on its page (in PDF points).
(Inherited from FormField)
Public propertyDivideText Gets or sets a value indicating whether the text is divided into equally spaced positions (comb fields). Requires MaxLength to be set.
Public propertyFlattenGets or sets a value indicating whether this field is flattened on save.
(Inherited from FormField)
Public propertyFullNameGets the fully-qualified field name.
(Inherited from FormField)
Public propertyMaxLengthGets or sets the maximum number of characters the field accepts (0 = unlimited).
Public propertyNameGets or sets the field name.
(Inherited from FormField)
Public propertyReadOnlyGets or sets a value indicating whether the field is read-only.
(Inherited from FormField)
Public propertyTextGets or sets the text value of the field.
Public propertyWidgetsGets the collection of widgets (visual placements) of this field.
(Inherited from FormField)
Top
Example
PdfFormManager manager = new PdfFormManager();
manager.Load("form.pdf");
FormFieldTextBox name =
    manager.Fields["name"] as FormFieldTextBox;
name.Text = "Jane Doe";
manager.Save("filled.pdf");
See Also