Spread Windows Forms 17
FarPoint.PDF Assembly / FarPoint.PDF Namespace / PdfSecurity Class / PdfSecurity Constructor / PdfSecurity Constructor(String,String,PdfPermissions)
The password, that upon being entered, permits the viewer unrestricted access to the document.
The password, that upon being entered, permits the viewer the permissions as specified in this class's Permissions property.
The initial Permissions value for this object.


In This Topic
    PdfSecurity Constructor(String,String,PdfPermissions)
    In This Topic
    Initializes an instance of the PdfSecurity class with the specified passwords and permissions.
    Syntax
    '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)

    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.
    See Also