PdfSignatureFieldSetLockedFields(Boolean, IEnumerablePdfField) Method |
Sets the set of form fields whose change invalidate the signature to either those specified in the fields (if excluded is ) or all fields except those specified in the fields (if excluded is ).
Namespace: SautinSoft.Pdf.FormsAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.4.23
Syntaxpublic PdfSignatureLockedFieldCollection SetLockedFields(
bool excluded,
IEnumerable<PdfField> fields
)
Public Function SetLockedFields (
excluded As Boolean,
fields As IEnumerable(Of PdfField)
) As PdfSignatureLockedFieldCollection
Parameters
- excluded Boolean
- if set to , then the set of form fields whose change invalidate the signature is set to all fields except those specified in the fields; otherwise, it is set to those specified in the fields.
- fields IEnumerablePdfField
- The fields.
Return Value
PdfSignatureLockedFieldCollection
The set of form fields whose change invalidate the signature.
ExceptionsException | Condition |
---|
ArgumentNullException | The parameter fields is either or an empty sequence. |
See Also