Click or drag to resize

PdfPasswordEncryptionDocumentOpenPassword Property

Gets or sets the Document Open password (also known as a user password) required to open the PDF file.

Default value: Empty (PDF file can be decrypted without a password).


Namespace: SautinSoft.Pdf.Security
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public string DocumentOpenPassword { get; set; }

Property Value

String
The Document Open password.
Exceptions
ExceptionCondition
InvalidOperationExceptionCurrent encryption information is used to read or write an encrypted PDF file and cannot be changed. Set new encryption information instead.
See Also