Click or drag to resize

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.Forms
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.3.13
Syntax
public PdfSignatureLockedFieldCollection SetLockedFields(
	bool excluded,
	params string[] fieldNames
)

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.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe parameter fieldNames is either or an empty sequence.
See Also