PdfFormDataField Class
The value of a field in PdfFormData.
public sealed class PdfFormDataFieldConstructors
| Name | Description |
|---|---|
| PdfFormDataField(string, IEnumerable<string>) | Initializes a field with several values, such as the choices of a multi-select list box. |
| PdfFormDataField(string, string?) | Initializes a field with one value, or none. |
PdfFormDataField overloads
PdfFormDataField(string, IEnumerable<string>)
PdfFormDataField.csInitializes a field with several values, such as the choices of a multi-select list box.
public PdfFormDataField(string name, IEnumerable<string> values)Parameters
namestring- The fully qualified name of the field, such as
address.city. valuesIEnumerable<string>- The values.
PdfFormDataField(string, string?)
PdfFormDataField.csProperties
| Name | Description |
|---|---|
| IsName | Gets a value indicating whether FDF writes the value as a name rather than as a text string: the states of check boxes and radio buttons are names (ISO 32000-2, 12.7.5.2). XFDF does not make the distinction. |
| Name | Gets the fully qualified name of the field. |
| Value | Gets the first value, or null when the field has none. |
| Values | Gets the values of the field: none, one, or several for a multi-select list box. |
IsName
PdfFormDataField.csValue
PdfFormDataField.csValues
PdfFormDataField.csGets the values of the field: none, one, or several for a multi-select list box.
public IReadOnlyList<string> Values { get; }Property value
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |