FoxitPDFSDKforWeb  7.1.1
Foxit PDF SDK for Web
constant

Enumerations

enum  Cipher_Type { cipherNone = 0, cipherRC4 = 1, cipherAES = 2 }
 Enumeration for Encryption Algorithm. More...
 
enum  User_Permissions {
  print = 0b100, modify = 0b1000, extract = 0b10000, annotForm = 0b100000,
  fillForm = 0b100000000, extractAccess = 0b1000000000, assemble = 0b10000000000, printHigh = 0b100000000000
}
 Enumeration for user access permissions in a PDF document. More...
 

Detailed Description

pdf related constants

Enumeration Type Documentation

◆ Cipher_Type

Enumeration for Encryption Algorithm.

Enumerator
cipherNone 

Not use encryption algorithm.

cipherRC4 

Use RC4 encryption algorithm, with the key length between 5 bytes and 16 bytes.

cipherAES 

Use AES encryption algorithm, with the key length be 16 bytes (as AES-128) or 32 bytes (as AES-256, only supported in PDF 2.0).

◆ User_Permissions

Enumeration for user access permissions in a PDF document.

Enumerator
print 

Print PDF document with normal mode. (Bit 3 in permission value)

modify 

Modify PDF contents. (Bit 4 in permission value)
If this value is set, user can modify contents of PDF document by operations other than those controlled by values User_Permissions==annotForm, User_Permissions==efillForm and User_Permissions==assemble.

extract 

Extract PDF contents. (Bit 5 in permission value)
If this value is set, user can copy or otherwise extract text and graphics from the document by operations other than that controlled by value User_Permissions==extractAccess.

annotForm 

Operate text annotations and fill in interactive form fields. (Bit 6 in permission value)
If value User_Permissions==modify is also set, user can create or modify interactive form fields (including signature fields).

fillForm 

Fill PDF form. (Bit 9 in permission value)
If this value is set, user can fill in interactive form fields (including signature fields), even if value User_Permissions==annotForm is not used.

extractAccess 

Disabilities support. (Bit 10 in permission value)
If this value is set, user can extract text and graphics in support of accessibility to users with disabilities or for other purposes.

assemble 

Assemble PDF document. (Bit 11 in permission value)
If this value is set, it enables to assemble the document (Insert, rotate, or delete pages and create bookmarks or thumbnail images), regardless if value User_Permissions==modify is set or not.

printHigh 

Print PDF document with higher qualities. (Bit 12 in permission value)
If this value is not set (and value User_Permissions==print is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality.

Foxit Software Corporation Logo
@2019 Foxit Software Incorporated. All rights reserved.