PeachDrawing.PDF

PdfFormFieldDefinition Class

An interactive form field to put on a page: what it is, where it is, and how it looks.

public sealed class PdfFormFieldDefinition

Inheritance System.Object → PdfFormFieldDefinition

Properties  
AccessibleName What the field is called to assistive technology: written as its alternate name (/TU), which readers announce and PDF/UA asks every field to have. Takes the place of Placeholder as the alternate name when both are set.
Appearance How the field looks.
AppearanceTransform The linear part of the transform that carries the upright appearance to where the field was drawn (translation left out; the reader fits the result to Bounds), in the same y-down convention as Bounds, or null when the field was not transformed or the transform is not affine.
AutoFontSize Whether a text field fits its font to its height.
Bounds Where the field sits, in points from the page’s top-left corner with y down: its box, or the bounding box of the drawn shape when it was transformed. An empty rectangle at its bottom-left corner keeps the field (it still holds a value and belongs to its form) with nothing to see or click.
CombCells The number of comb cells of a text field (one character each), or null for none.
ContentSize The size, in points, the appearance is drawn at: the field’s own size, even when a transform moved it.
DoNotScroll Whether a text field does not scroll when its text overflows.
IsChecked Whether a check box or radio button is on initially.
Kind What kind of field it is.
MaxLength The most characters a text field accepts, or null for no limit. A comb field’s cell count wins over it.
Multiline Whether a text field takes several lines of text.
MultiSelect Whether a list box lets more than one option be chosen.
Name The field’s name, or null to have the builder generate one.
NoExport Whether the field is left out when the form is submitted.
Options The choices of a select or list, in order.
Password Whether a text field echoes its value unreadably (a password).
Placeholder A hint for the field: shown as its tooltip and read by assistive technology in place of the machine-oriented name. When the field has no value and PlaceholderShown is set it is also drawn in the field.
PlaceholderShown Whether Placeholder is drawn in an empty text field.
ReadOnly Whether the field cannot be edited.
Required Whether the field must be filled in.
Value The text of a text field, or the value a check box or radio button takes when it is on. Unused by a select.