Class SignatureLockedFieldOptions
Options controlling field locks associated with a signature field (spec §12.7.4.5, "Signature Field Lock Dictionary" — the /Lock entry).
Inherited Members
Namespace: DRIT.Pdf.Forms
Assembly: DRIT.Pdf.dll
Syntax
public sealed class SignatureLockedFieldOptions : IEnumerable<string>, IEnumerable
Properties
Count
Number of explicitly locked fields.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
LockedFields
The formalised collection of locked field names.
Declaration
public SignatureLockedFieldCollection LockedFields { get; }
Property Value
| Type | Description |
|---|---|
| SignatureLockedFieldCollection |
Permission
Permission level allowed after this field is signed.
Declaration
public UserAccessPermissions Permission { get; set; }
Property Value
| Type | Description |
|---|---|
| UserAccessPermissions |
Methods
Add(string)
Add a field name to the lock set.
Declaration
public void Add(string fieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName |
Clear()
Clears all explicit lock entries.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the locked field names.
Declaration
public IEnumerator<string> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<string> |
Set(params FormField[])
Replaces the lock set from form field instances.
Declaration
public void Set(params FormField[] fields)
Parameters
| Type | Name | Description |
|---|---|---|
| FormField[] | fields |