Pdf | |
The PdfFormFieldTextBox type exposes the following members.
| Name | Description | |
|---|---|---|
| Caption |
Gets the caption a field of an XFA form shows beside its input area, or null (an AcroForm field has
none).
(Inherited from PdfFormField) | |
| DisplayPage |
Gets the zero-based index of the page the field is on, or -1. For a field of an XFA form that lays itself
out, its page of the form as laid out (the pages the form has once flattened), and -1 when the field is not
laid out.
(Inherited from PdfFormField) | |
| DisplayRectangle |
Gets the field rectangle on its page (in PDF points). For a field of an XFA form that lays itself out, the
rectangle on its page of the form as laid out, and an empty rectangle when the field is not laid out.
(Inherited from PdfFormField) | |
| DivideText | Gets or sets a value indicating whether the text is divided into equally spaced positions (comb fields). Requires MaxLength to be set. On a field of an XFA form it cannot be set. | |
| Flatten |
Gets or sets a value indicating whether this field is flattened on save. A field of an XFA form that lays
itself out is not flattened on its own: set Flatten to flatten the whole form.
(Inherited from PdfFormField) | |
| FormattedValue |
Gets the value of the field as it is shown. For a field of an XFA form, the value formatted by the field's
display pattern (a date or a number as the form shows it); for an AcroForm field, its value.
(Inherited from PdfFormField) | |
| FullName |
Gets the fully-qualified field name. For a field of an XFA form, the field's path in the form as the form's
scripts name it (for example form1[0].Page1[0].Name[0]).
(Inherited from PdfFormField) | |
| MaxLength | Gets or sets the maximum number of characters the field accepts (0 = unlimited). On a field of an XFA form it cannot be set. | |
| Multiline | Gets a value indicating whether the field takes several lines of text. | |
| Name |
Gets or sets the field name. The name of a field of an XFA form cannot be changed.
(Inherited from PdfFormField) | |
| ReadOnly | Gets or sets a value indicating whether the field is read-only. (Inherited from PdfFormField) | |
| Required | Gets a value indicating whether the form requires the field to be filled. (Inherited from PdfFormField) | |
| Text | Gets or sets the text value of the field. On a field of an XFA form the value is the one the form keeps (a date as yyyy-MM-dd, a number with a period as its decimal separator; FormattedValue is what the form shows), and setting it is typing it and leaving the field, as in Acrobat: the form's scripts for the change run, then its calculations and its validation. What the form's validation reports is in ScriptMessages. | |
| ToolTip | Gets the text a viewer shows when the pointer rests on the field, or null. (Inherited from PdfFormField) | |
| Visible |
Gets a value indicating whether the field is shown. A field of an XFA form is not shown when the form hides
it or does not lay it out; an AcroForm field when its widget is hidden.
(Inherited from PdfFormField) | |
| Widgets |
Gets the collection of widgets (visual placements) of this field. A field of an XFA form that lays itself
out has one, and a radio group one per button.
(Inherited from PdfFormField) |