Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Security Namespace / StandardSecurityHandlerRev2 Class
Properties Methods

In This Topic
    StandardSecurityHandlerRev2 Class Members
    In This Topic

    The following tables list the members exposed by StandardSecurityHandlerRev2.

    Public Constructors
     NameDescription
    Public ConstructorInitialize a new instance of the StandardSecurityHandlerRev2 class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the access type granted by this StandardSecurityHandler, or null. This property is initialized when a document is loaded. (Inherited from GrapeCity.Documents.Pdf.Security.StandardSecurityHandler)
    Public PropertyGets or sets whether the user can copy contents from the Pdf document.  
    Public PropertyGets or sets whether the user can edit annotations in the Pdf document.  
    Public PropertyGets or sets whether the user can edit the contents of the Pdf document.  
    Public PropertyGets or sets whether the user can print the Pdf document.  
    Public PropertyGets or sets the password required to change permissions of a PDF document as a string.

    The two properties OwnerPassword and OwnerPasswordBytes allow to define the password as a string or as an array of bytes.

    According to the PDF specification, a string password should be converted to an array of bytes using the system code page (if the standard security handler with revision 4 or less is used). In some environments the system code page is unavailable, so GcPdf cannot perform this conversion. If the password string only contains ASCII chars, this does not present a problem. But if the password string contains non-ASCII Unicode characters, it is up to the developer to perform the conversion and set the password using this property. (Inherited from GrapeCity.Documents.Pdf.Security.StandardSecurityHandler)
    Public PropertyGets or sets the password required to change permissions of a PDF document as a byte array.

    The two properties OwnerPassword and OwnerPasswordBytes allow to define the password as a string or as an array of bytes.

    According to the PDF specification, a string password should be converted to an array of bytes using the system code page (if the standard security handler with revision 4 or less is used). In some environments the system code page is unavailable, so GcPdf cannot perform this conversion. If the password string only contains ASCII chars, this does not present a problem. But if the password string contains non-ASCII Unicode characters, it is up to the developer to perform the conversion and set the password using this property. (Inherited from GrapeCity.Documents.Pdf.Security.StandardSecurityHandler)
    Public PropertyGets the revision of this StandardSecurityHandler. (Inherited from GrapeCity.Documents.Pdf.Security.StandardSecurityHandler)
    Public PropertyGets or sets the password required to open a PDF document as a string.

    The two properties UserPassword and UserPasswordBytes allow to define the password as a string or as an array of bytes.

    According to the PDF specification, a string password should be converted to an array of bytes using the system code page (if the standard security handler with revision 4 or less is used). In some environments the system code page is unavailable, so GcPdf cannot perform this conversion. If the password string only contains ASCII chars, this does not present a problem. But if the password string contains non-ASCII Unicode characters, it is up to the developer to perform the conversion and set the password using UserPasswordBytes. (Inherited from GrapeCity.Documents.Pdf.Security.StandardSecurityHandler)
    Public PropertyGets or sets the password required to open a PDF document as a byte array.

    The two properties UserPassword and UserPasswordBytes allow to define the password as a string or as an array of bytes.

    According to the PDF specification, a string password should be converted to an array of bytes using the system code page (if the standard security handler with revision 4 or less is used). In some environments the system code page is unavailable, so GcPdf cannot perform this conversion. If the password string only contains ASCII chars, this does not present a problem. But if the password string contains non-ASCII Unicode characters, it is up to the developer to perform the conversion and set the password using this property. (Inherited from GrapeCity.Documents.Pdf.Security.StandardSecurityHandler)
    Top
    Public Methods
     NameDescription
    Public MethodCopies all property values from another object. (Inherited from GrapeCity.Documents.Pdf.Security.StandardSecurityHandler)
    Public MethodCreate copy of this SecurityHandlerBase. (Inherited from GrapeCity.Documents.Pdf.Security.SecurityHandlerBase)
    Public MethodReleases the unmanaged resources used by the SecurityHandlerBase and optionally releases the managed resources. (Inherited from GrapeCity.Documents.Pdf.Security.SecurityHandlerBase)
    Top
    See Also