Skip to main content

FormFieldList

Version: 12.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 Info​

Basic usage of this class is a DynamicPDF Core Suite Essentials feature. However, some properties or methods require full licensing and are noted accordingly. One of the following is required for non-evaluation usage:

Properties​

Count​

Gets the number of fields in the list.

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

Property Value​

Int32

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Owner​

Get the FormField that owns the form field list.

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

Property Value​

FormField

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetEnumerator()​

Returns an enumerator that can iterate through the FormFieldList .

public IEnumerator GetEnumerator()
Function GetEnumerator() As IEnumerator

Returns​

An IEnumerator for the entire FormFieldList

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetTextFields()​

Returns a collection of text form fields.

public TextFieldList GetTextFields()
Function GetTextFields() As TextFieldList

Returns​

A TextFieldList object containing the visible form fields.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Remove(FormField)​

Removes the field from the collection.

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

Parameters​

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF.Forms