[]
Initializes an instance of the PdfSecurity class with the specified passwords and permissions.
public PdfSecurity(string ownerPassword, string userPassword, PdfPermissions permissions)
Public Sub New(ownerPassword As String, userPassword As String, permissions As PdfPermissions)
| Type | Name | Description |
|---|---|---|
| string | ownerPassword | The password, that upon being entered, permits the viewer unrestricted access to the document. |
| string | userPassword | The password, that upon being entered, permits the viewer the permissions as specified in this class's Permissions property. |
| PdfPermissions | permissions | The initial Permissions value for this object. |
Initializes an instance of the PdfSecurity class with the specified passwords and default permissions. By default all permissions are allowed.
public PdfSecurity(string ownerPassword, string userPassword)
Public Sub New(ownerPassword As String, userPassword As String)
| Type | Name | Description |
|---|---|---|
| string | ownerPassword | The password, that upon being entered, permits the viewer unrestricted access to the document. |
| string | userPassword | The password, that upon being entered, permits the viewer the permissions as specified in this class's Permissions property. |
Initializes an instance of the PdfSecurity class with the specified passwords and default permissions. By default all permissions are allowed.
public PdfSecurity(string ownerPassword)
Public Sub New(ownerPassword As String)
| Type | Name | Description |
|---|---|---|
| string | ownerPassword | The password that permits the viewer unrestricted access to the document. |