DOCWRTPDFENCRYPTIONMODE

typedef enum _DOCWRTPDFENCRYPTIONMODE
{
    DOCWRTPDFENCRYPTIONMODE_RC40BIT = 0,
    DOCWRTPDFENCRYPTIONMODE_RC128BIT,
}DOCWRTPDFENCRYPTIONMODE, *pDOCWRTPDFENCRYPTIONMODE;

The DOCWRTPDFENCRYPTIONMODE enumeration provides information about the encryption level for PDF document:

Member

Description

DOCWRTPDFENCRYPTIONMODE_RC40BIT

Use High level encryption (128-bit RC4)

DOCWRTPDFENCRYPTIONMODE_RC128BIT

Use Low level encryption (40-bit RC4)

Comments

The Low Level encryption method (40-bit RC4), allows access for some PDF document areas to be restricted. If set, the user may allow/disallow the following features of the created PDF document: print document, modify document content, extract text and graphics, modify comments, etc.

The High Level Encryption method (128-bit RC4), allows for more restrictions than those of the low level encryption method. They include such options as whether high resolution printing and document assembly are allowed.