SignatureWidgetAnnotationSetFieldsToLock Method |
Sets the fields to set to read only or leave alone when this widget is signed.
Namespace:
Atalasoft.PdfDoc.Generating.Annotations
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void SetFieldsToLock(
FieldDisallowChangeAction changeAction,
IEnumerable<IFormElement> formElements
)
Public Sub SetFieldsToLock (
changeAction As FieldDisallowChangeAction,
formElements As IEnumerable(Of IFormElement)
)
Parameters
- changeAction
- Type: Atalasoft.PdfDoc.DigitalSignaturesFieldDisallowChangeAction
The change action to take. - formElements
- Type: System.Collections.GenericIEnumerableIFormElement
The form elements to set to read only or to leave alone.
Exceptions Exception | Condition |
---|
ArgumentNullException | If the changeAction is IncludeSome or ExcludeSome, formElements must be non-null. |
Remarks
When the change action is set to
IncludeAll, formElements will be ignored. When it is set to
either
IncludeSome or
ExcludeSome,
then the formElements argument should be an enumerable collection of IFormElement objects to include or exclude.
See Also