Skip to main content

PdfPasswordSecurityOptions.OpenPassword Property

Specifies the password for opening the exported PDF document.

Namespace: DevExpress.XtraPrinting

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

Declaration

[DefaultValue("")]
public string OpenPassword { get; set; }

Property Value

Type Default Description
String

String.Empty

A String value, representing the password.

Property Paths

You can access this nested property as listed below:

Object Type Path 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