Class FieldActionList
Action list for push button fields.
Inherited Members
Namespace: DRIT.Pdf.Forms
Assembly: DRIT.Pdf.dll
Syntax
public sealed class FieldActionList : IEnumerable<FieldAction>, IEnumerable
Properties
Count
Gets the number of configured actions.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets the action at the specified index.
Declaration
public FieldAction this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index. |
Property Value
| Type | Description |
|---|---|
| FieldAction |
Methods
AddImportFormData(string)
Adds an action that imports form data from an FDF file.
Declaration
public ImportFormDataAction AddImportFormData(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | The path to the FDF file to import. |
Returns
| Type | Description |
|---|---|
| ImportFormDataAction | The created import form data action. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |
AddResetForm()
Adds an action that resets form fields.
Declaration
public ResetFormAction AddResetForm()
Returns
| Type | Description |
|---|---|
| ResetFormAction | The created reset form action. |
AddSubmitForm(string)
Adds an action that submits form data to a URL.
Declaration
public SubmitFormAction AddSubmitForm(string url)
Parameters
| Type | Name | Description |
|---|---|---|
| string | url | The URL to submit to. |
Returns
| Type | Description |
|---|---|
| SubmitFormAction | The created submit form action. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |
GetEnumerator()
Returns an enumerator for iterating over actions.
Declaration
public IEnumerator<FieldAction> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<FieldAction> |