PdfSignatureFieldSetLockedFields(Boolean, PdfField) 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.3.13
Syntaxpublic PdfSignatureLockedFieldCollection SetLockedFields(
bool excluded,
params PdfField[] fields
)
Public Function SetLockedFields (
excluded As Boolean,
ParamArray fields As 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 PdfField
- 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