Table of Contents

Property UserPassword

Namespace
PdfSharp.Pdf.Security
Assembly
PdfSharp.dll

UserPassword

Sets the user password of the document. Setting a password automatically sets the PdfDocumentSecurityLevel to PdfDocumentSecurityLevel.Encrypted128Bit if its current value is PdfDocumentSecurityLevel.None.

public string UserPassword { set; }

Property Value

string