[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Security.EncryptOptions

EncryptOptions Class

Specifies the options used by the SetEncryptOptions(EncryptOptions) method.

Inheritance
EncryptOptions
Namespace: GrapeCity.Documents.Pdf.Security
Assembly: DS.Documents.Pdf.dll
Syntax
public class EncryptOptions
Public Class EncryptOptions

Constructors

Name Description
EncryptOptions()

Properties

Name Description
EncryptMetadata

Gets or sets a value indicating whether the document-level metadata stream should be encrypted.

The default value is true.

EncryptionLevel

Gets or sets the encryption level.

The default value is AES256.

Permissions

Gets or sets the EncryptOptions.PermissionOptions that define the permissions applied to the document.

UserPassword

Gets or sets the password required to open the PDF document, represented as a string.

UserPasswordBytes

Gets or sets the password required to open the PDF document, represented as a byte array.