Table of Contents

Method CreateLockAllExceptFields

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

CreateLockAllExceptFields(params string[])

Creates a signature field lock for all fields in the document except the fields with the specified names.

public static PdfSignatureFieldLock CreateLockAllExceptFields(params string[] fieldNames)

Parameters

fieldNames string[]

The names of the fields to exclude from the lock.

Returns

PdfSignatureFieldLock

A newly created signature field lock for all fields in the document except the fields with the specified names.

Remarks

When the corresponding signature field with this kind of lock is signed, all fields in the document except the fields with the specified names get locked. Any change to any of the fields with names not specified in the lock will invalidate the signature.

Check the Lock PDF form fields with a signature field for examples of using this method.