Back to Devexpress

PdfEncryptionOptions.OwnerPassword Property

officefileapi-devexpress-dot-pdf-dot-pdfencryptionoptions-12744dcb.md

latest1.9 KB
Original Source

PdfEncryptionOptions.OwnerPassword Property

OBSOLETE

The OwnerPassword property is now obsolete. Use the OwnerPasswordString property instead.

This property is now obsolete. To specify an owner password, use the PdfEncryptionOptions.OwnerPasswordString property instead.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
[Obsolete("The OwnerPassword property is now obsolete. Use the OwnerPasswordString property instead.")]
public SecureString OwnerPassword { get; set; }
vb
<Obsolete("The OwnerPassword property is now obsolete. Use the OwnerPasswordString property instead.")>
Public Property OwnerPassword As SecureString

Property Value

TypeDescription
SecureString

A SecureString object that is an owner password.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to OwnerPassword
PdfSaveOptions

.EncryptionOptions .OwnerPassword

|

See Also

PdfEncryptionOptions Class

PdfEncryptionOptions Members

DevExpress.Pdf Namespace