PdfSignatureFieldSetLockedFields(Boolean, String) Method |
Sets the set of form fields whose change invalidate the signature to either those specified in the fieldNames (if excluded is ) or all fields except those specified in the fieldNames (if excluded is ).
Namespace: SautinSoft.Pdf.FormsAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.3.13
Syntaxpublic PdfSignatureLockedFieldCollection SetLockedFields(
bool excluded,
params string[] fieldNames
)
Public Function SetLockedFields (
excluded As Boolean,
ParamArray fieldNames As String()
) 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 fieldNames; otherwise, it is set to those specified in the fieldNames.
- fieldNames String
- The field names.
Return Value
PdfSignatureLockedFieldCollection
The set of form fields whose change invalidate the signature.
ExceptionsException | Condition |
---|
ArgumentNullException | The parameter fieldNames is either or an empty sequence. |
See Also