Table of Contents

Method AddCryptFilter

Namespace
PdfSharp.Pdf.Security
Assembly
PdfSharp.dll

AddCryptFilter(string, PdfCryptFilter, bool)

Adds a crypt filter to the document.

public void AddCryptFilter(string name, PdfCryptFilter cryptFilter, bool asDefault = false)

Parameters

name string

The name to identify the crypt filter.

cryptFilter PdfCryptFilter

The crypt filter.

asDefault bool

If true, the crypt filter is referred to as default for any strings and streams in StmF, StrF and EFF keys.