• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FieldSelection

Selection options for reset/submit form actions.

Inheritance
object
FieldSelection
Implements
IEnumerable<string>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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>

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX