Enum PdfFormFieldFlags
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
Options set on a form field. Which ones apply depends on the PdfFormFieldType.
[Flags]
public enum PdfFormFieldFlags
Fields
None = 0No options set.
ReadOnly = 1The user can't change the field's value.
Required = 2The field must have a value before the form can be submitted.
NoExport = 4The field's value isn't sent when the form is submitted.
Multiline = 8A text field that wraps its text onto more than one line.
Password = 16A text field that shows what's typed as dots or asterisks and doesn't save its value in the file.
FileSelect = 32A text field that holds a file's path; submitting the form sends that file's contents.
DoNotSpellCheck = 64The viewer doesn't spell-check text typed into a text field or editable combo box.
DoNotScroll = 128A text field that doesn't scroll, so it takes no more text than fits in it.
Comb = 256A text field split into MaxLength equal boxes, one character in each.
RichText = 512A text field whose value is formatted rich text rather than plain text.
NoToggleToOff = 1024Radio buttons that always keep one on: clicking the one that's on doesn't turn it off.
RadiosInUnison = 2048Radio buttons with the same export value turn on and off together.
Editable = 4096A combo box that also lets the user type a value that isn't in its list.
Sort = 8192The choices should be kept in alphabetical order. This is a hint for the tool that edits the form; a viewer shows them in the order the file lists them.
MultiSelect = 16384A list box that lets the user pick more than one choice.
CommitOnSelectionChange = 32768A combo box or list box that saves a choice as soon as it's picked, not when the field loses focus.