Spread Windows Forms 15.0
FarPoint.PDF Assembly / FarPoint.PDF Namespace / PdfSecurity Class / PdfSecurity Constructor / PdfSecurity Constructor(String,String)
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.


In This Topic
    PdfSecurity Constructor(String,String)
    In This Topic
    Initializes an instance of the PdfSecurity class with the specified passwords and default permissions. By default all permissions are allowed.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal ownerPassword As String, _
       ByVal userPassword As String _
    )
    'Usage
     
    
    Dim ownerPassword As String
    Dim userPassword As String
     
    Dim instance As New PdfSecurity(ownerPassword, userPassword)
    public PdfSecurity( 
       string ownerPassword,
       string userPassword
    )

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