Specifies the flags of AcroForm fields.
Namespace: PdfEdit.Pdf.AcroForms
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
ReadOnly | 1 | If set, the user may not change the value of the field. Any associated widget annotations will not interact with the user; that is, they will not respond to mouse clicks or change their appearance in response to mouse motions. This flag is useful for fields whose values are computed or imported from a database. | |
Required | 2 | If set, the field must have a value at the time it is exported by a submit-form action. | |
NoExport | 4 | If set, the field must not be exported by a submit-form action. | |
Pushbutton | 65536 | If set, the field is a pushbutton that does not retain a permanent value. | |
Radio | 32768 | If set, the field is a set of radio buttons; if clear, the field is a checkbox. This flag is meaningful only if the Pushbutton flag is clear. | |
NoToggleToOff | 16384 | (Radio buttons only) If set, exactly one radio button must be selected at all times; clicking the currently selected button has no effect. If clear, clicking the selected button deselects it, leaving no button selected. | |
RadiosInUnison | 33554432 | (PDF 1.5) If set, a group of radio buttons within a radio button field that use the same value for the on state will turn on and off in unison; that is if one is checked, they are all checked. If clear, the buttons are mutually exclusive (the same behavior as HTML radio buttons). | |
Multiline | 4096 | If set, the field may contain multiple lines of text; if clear, the field’s text is restricted to a single line. | |
Password | 8192 | If set, the field is intended for entering a secure password that should not be echoed visibly to the screen. Characters typed from the keyboard should instead be echoed in some unreadable form, such as asterisks or bullet characters. To protect password confidentiality, viewer applications should never store the value of the text field in the PDF file if this flag is set. | |
FileSelect | 1048576 | (PDF 1.4) If set, the text entered in the field represents the pathname of a file whose contents are to be submitted as the value of the field. | |
DoNotSpellCheckTextField | 4194304 | (PDF 1.4) If set, the text entered in the field will not be spell-checked. | |
DoNotScroll | 8388608 | (PDF 1.4) If set, the field will not scroll (horizontally for single-line fields, vertically for multiple-line fields) to accommodate more text than will fit within its annotation rectangle. Once the field is full, no further text will be accepted. | |
Comb | 16777216 | (PDF 1.5) May be set only if the MaxLen entry is present in the text field dictionary (see Table 229) and if the Multiline, Password, and FileSelect flags are clear. If set, the field shall be automatically divided into as many equally spaced positions, or combs, as the value of MaxLen, and the text is laid out into those combs. | |
RichText | 33554432 | (PDF 1.5) If set, the value of this field shall be a rich text string (see 12.7.3.4, “Rich Text Strings”). If the field has a value, the RV entry of the field dictionary (Table 222) shall specify the rich text string. | |
Combo | 131072 | If set, the field is a combo box; if clear, the field is a list box. | |
Edit | 262144 | If set, the combo box includes an editable text box as well as a drop list; if clear, it includes only a drop list. This flag is meaningful only if the Combo flag is set. | |
Sort | 524288 | If set, the field’s option items should be sorted alphabetically. This flag is intended for use by form authoring tools, not by PDF viewer applications; viewers should simply display the options in the order in which they occur in the Opt array. | |
MultiSelect | 2097152 | (PDF 1.4) If set, more than one of the field’s option items may be selected simultaneously; if clear, no more than one item at a time may be selected. | |
DoNotSpellCheckChoiseField | 4194304 | (PDF 1.4) If set, the text entered in the field will not be spell-checked. This flag is meaningful only if the Combo and Edit flags are both set. |
See Also