WithEncryption(PdfEncryptionOptions?) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Sets Encryption.

public PdfSaveOptions WithEncryption(PdfEncryptionOptions? encryption)

Parameters

encryption
PdfEncryptionOptions

How to encrypt the saved file; null to keep the document's own encryption.

Returns

PdfSaveOptions
These options.

Remarks

ISO 32000-2 §7.6.