Table of Contents

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 = 0

No options set.

ReadOnly = 1

The user can't change the field's value.

Required = 2

The field must have a value before the form can be submitted.

NoExport = 4

The field's value isn't sent when the form is submitted.

Multiline = 8

A text field that wraps its text onto more than one line.

Password = 16

A text field that shows what's typed as dots or asterisks and doesn't save its value in the file.

FileSelect = 32

A text field that holds a file's path; submitting the form sends that file's contents.

DoNotSpellCheck = 64

The viewer doesn't spell-check text typed into a text field or editable combo box.

DoNotScroll = 128

A text field that doesn't scroll, so it takes no more text than fits in it.

Comb = 256

A text field split into MaxLength equal boxes, one character in each.

RichText = 512

A text field whose value is formatted rich text rather than plain text.

NoToggleToOff = 1024

Radio buttons that always keep one on: clicking the one that's on doesn't turn it off.

RadiosInUnison = 2048

Radio buttons with the same export value turn on and off together.

Editable = 4096

A combo box that also lets the user type a value that isn't in its list.

Sort = 8192

The 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 = 16384

A list box that lets the user pick more than one choice.

CommitOnSelectionChange = 32768

A combo box or list box that saves a choice as soon as it's picked, not when the field loses focus.