Class FieldSelection
Selection options for reset/submit form actions.
Inherited Members
Namespace: DRIT.Pdf.Forms
Assembly: DRIT.Pdf.dll
Syntax
public sealed class FieldSelection : IEnumerable<string>, IEnumerable
Properties
All
True when the action applies to all fields. When false, only the explicitly listed field names are used.
Declaration
public bool All { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Count
Number of selected field names.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
Excluded
True when listed fields should be excluded instead of included. Maps to action /Flags bit 1.
Declaration
public bool Excluded { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Add(string)
Add a field name to the selection list.
Declaration
public void Add(string fieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName |
Clear()
Clear all selected field names and restore default all-fields mode.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the selected field names.
Declaration
public IEnumerator<string> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<string> |