Back to Devexpress

PdfPasswordSecurityOptions.OpenPassword Property

corelibraries-devexpress-dot-xtraprinting-dot-pdfpasswordsecurityoptions-61971a83.md

latest2.3 KB
Original Source

PdfPasswordSecurityOptions.OpenPassword Property

Specifies the password for opening the exported PDF document.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue("")]
public string OpenPassword { get; set; }
vb
<DefaultValue("")>
Public Property OpenPassword As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value, representing the password.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to OpenPassword
PdfExportOptions

.PasswordSecurityOptions .OpenPassword

|

Remarks

Use the OpenPassword property, to specify a password, enabling end-users to open a PDF file, to which a document is exported.

To specify a password for accessing the permission options (which are available via the PdfPasswordSecurityOptions.PermissionsOptions property), use the PdfPasswordSecurityOptions.PermissionsPassword property.

See Also

PermissionsPassword

PdfPasswordSecurityOptions Class

PdfPasswordSecurityOptions Members

DevExpress.XtraPrinting Namespace