'Declaration
Public Function New( _ ByVal ownerPassword As String, _ ByVal userPassword As String, _ ByVal permissions As PdfPermissions _ )
'Usage
Dim ownerPassword As String Dim userPassword As String Dim permissions As PdfPermissions Dim instance As New PdfSecurity(ownerPassword, userPassword, permissions)
public PdfSecurity( string ownerPassword, string userPassword, PdfPermissions permissions )
Parameters
- ownerPassword
- The password, that upon being entered, permits the viewer unrestricted access to the document.
- userPassword
- The password, that upon being entered, permits the viewer the permissions as specified in this class's Permissions property.
- permissions
- The initial Permissions value for this object.