 |
PdfFormField Properties |
The PdfFormField type exposes the following members.
Properties| | Name | Description |
|---|
 | Caption |
Gets the caption a field of an XFA form shows beside its input area, or null (an AcroForm field has
none).
|
 | 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.
|
 | 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.
|
 | 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.
|
 | 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.
|
 | 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]).
|
 | Name |
Gets or sets the field name. The name of a field of an XFA form cannot be changed.
|
 | ReadOnly | Gets or sets a value indicating whether the field is read-only. |
 | Required | Gets a value indicating whether the form requires the field to be filled. |
 | ToolTip | Gets the text a viewer shows when the pointer rests on the field, or null. |
 | 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.
|
 | 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.
|
Top
See Also