Constructor PdfFormFieldInfo
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
PdfFormFieldInfo(string, PdfFieldKind, string?, IReadOnlyList<string>, bool, bool, bool, int?, IReadOnlyList<int>)
A form field read from a document by ReadFormFields() or Fields.
public PdfFormFieldInfo(string Name, PdfFieldKind Kind, string? Value, IReadOnlyList<string> Options, bool ReadOnly, bool Required, bool Multiline, int? MaxLength, IReadOnlyList<int> PageIndices)
Parameters
NamestringThe fully qualified field name, with parent names joined by dots (for example
address.city).KindPdfFieldKindThe field type.
ValuestringThe current value: text for text and choice fields, the selected export value for check boxes and radio groups (
Offwhen unselected), or null if the field has no value.OptionsIReadOnlyList<string>The export values of a choice field's options, or the "on" states of check boxes and radio groups.
ReadOnlyboolWhether the field is read-only.
RequiredboolWhether the field must have a value when the form is submitted.
MultilineboolWhether a text field accepts several lines.
MaxLengthint?The maximum text length of a text field, or null for no limit.
PageIndicesIReadOnlyList<int>Zero-based indices of the pages that show the field's widgets.