Skip to main content

FormFieldList

Version: 8.0

cete.dynamicpdf.forms.formfieldlist

FormFieldList​

Represents a collection of form fields.

public class FormFieldList : IEnumerable
Public Class FormFieldList
Implements IEnumerable

Inheritance: Object → FormFieldList

Implements: IEnumerable

Licensing​

Reading the values or properties of a field is a DynamicPDF Merger Standard Edition feature (for modifying field values see below). One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Merger for .NET Standard Edition
  • DynamicPDF Merger for .NET Professional Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Professional Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Modifying the values of the fields (i.e. form filling) is a Professional Edition Feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Merger for .NET Professional Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Professional Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Properties​

Count​

Gets the number of fields in the list.

public int Count { get; }
Public Property Count As Int32

Property Value​

Int32

Item[Int32]​

Gets a form field by index.

public FormField this[int index] { get; }
Public Property Item(index As Integer) As FormField

Property Value​

FormField

Item[String]​

Gets a form field by the given name.

public FormField this[string name] { get; }
Public Property Item(name As String) As FormField

Property Value​

FormField

Owner​

Get the FormField that owns the form field list.

public FormField Owner { get; }
Public Property Owner As FormField

Property Value​

FormField

Methods​

Add(FormField)​

Adds a form field to the collection.

public int Add(FormField formField)
Function Add(formField As FormField) As Integer

Parameters​

FormField object to add.

Returns​

The index of the added form field.

DrawKidReferences(DocumentWriter)​

Draws the child references to the given DocumentWriter object.

public void DrawKidReferences(DocumentWriter writer)
Sub DrawKidReferences(writer As DocumentWriter)

Parameters​

DocumentWriter object to receive the form field list's output.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetEnumerator()​

Returns an enumerator that can iterate through the FormFieldList .

public IEnumerator GetEnumerator()
Function GetEnumerator() As IEnumerator

Returns​

An IEnumerator for the entire FormFieldList

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetTextFields()​

Returns a collection of text form fields.

public TextFieldList GetTextFields()
Function GetTextFields() As TextFieldList

Returns​

A TextFieldList object containing the visible form fields.

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Remove(FormField)​

Removes the field from the collection.

public void Remove(FormField field)
Sub Remove(field As FormField)

Parameters​

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF.Forms