PeachDrawing.PDF.PdfOperation

PdfOperation.Encrypt(PdfEncryptionOptions) Method

Protects the output with a password and permissions.

public PeachDrawing.PDF.PdfOperation Encrypt(PeachDrawing.PDF.PdfEncryptionOptions options);

Parameters

options PdfEncryptionOptions

the passwords, the permissions and whether the metadata is encrypted

Returns

PdfOperation
this operation