Table of Contents

Enum FieldFlags

Namespace
MiPdf.Forms
Assembly
MiPdf.dll

Field flags (ISO 32000-2, 12.7.4).

[Flags]
public enum FieldFlags

Fields

None = 0

No flags set.

ReadOnly = 1

The user may not change the value (all field types).

Required = 2

The field must have a value when the form is submitted (all field types).

NoExport = 4

The field is not exported when the form is submitted (all field types).

Multiline = 4096

Text field: the text may span multiple lines.

Password = 8192

Text field: the entered text is masked (e.g. with asterisks).

NoToggleToOff = 16384

Radio buttons: exactly one button must be selected at all times.

Radio = 32768

Button field: radio buttons instead of a check box.

PushButton = 65536

Button field: a push button without a permanent value.

Combo = 131072

Choice field: a combo box (drop-down list) instead of a list box.

Edit = 262144

Combo box: the user may enter a value that is not in the option list.

Sort = 524288

Choice field: the options should be sorted alphabetically (a hint for form authoring tools).

FileSelect = 1048576

Text field: the value is the path of a file whose contents are submitted.

MultiSelect = 2097152

Choice field: more than one option may be selected.

DoNotSpellCheck = 4194304

Text or combo box field: the text is not spell-checked.

DoNotScroll = 8388608

Text field: no scrolling; text that does not fit is not accepted.

Comb = 16777216

Text field: the box is divided into /MaxLen equally spaced character cells.