PdfStandardEncryptionHandler.OwnerPassword Property

Gets the owner password to use while encrypting data.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public string OwnerPassword { get; }
VB
Public ReadOnly Property OwnerPassword As String
	Get

Property Value

Type: String
The owner password to use while encrypting data.

Remarks

Owner password allows full (owner) access to the document. This unlimited access includes the ability to change the document's passwords and access permissions.

If only owner password is specified and UserPassword is null or empty string, then users of the encrypted document will be able to open it without a password.

If owner password is null or empty string and user password is not null and not empty string, then the document will be saved with the same value for user and owner passwords.

See Also