Class SignatureLockedFieldCollection
A formalised collection of locked field names associated with a signature field's lock dictionary (spec §12.7.4.5, "Signature Field Lock Dictionary", /Lock /Fields array).
Inherited Members
Namespace: DRIT.Pdf.Forms
Assembly: DRIT.Pdf.dll
Syntax
public sealed class SignatureLockedFieldCollection : IEnumerable<string>, IEnumerable
Properties
Count
Number of locked field names in this collection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets the field name at the specified index.
Declaration
public string this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index. |
Property Value
| Type | Description |
|---|---|
| string |
Methods
Add(string)
Adds a field name to the locked set. Duplicate names are ignored.
Declaration
public void Add(string fieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | The partial field name to lock. |
Clear()
Removes all field names from this collection.
Declaration
public void Clear()
Contains(string)
Determines whether the collection contains the specified field name.
Declaration
public bool Contains(string fieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | The field name to locate. |
Returns
| Type | Description |
|---|---|
| bool |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<string> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<string> | An enumerator that can be used to iterate through the collection. |
Remove(string)
Removes a field name from the locked set.
Declaration
public bool Remove(string fieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | The partial field name to remove. |
Returns
| Type | Description |
|---|---|
| bool |
|