Click or drag to resize

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

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