SecurityInfo
Document properties, Security and Signatures
Description
Returns information about the security settings of the selected document.
Syntax
Delphi
function TQuickPDF0813.SecurityInfo(SecurityItem: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SecurityInfo(SecurityItem As Long) As Long
DLL
int QuickPDFSecurityInfo(int InstanceID, int SecurityItem)
Parameters
| SecurityItem |
0 = Security Method 1 = User Password 2 = Master Password 3 = Printing 4 = Changing the Document 5 = Content Copying or Extraction 6 = Authoring Comments and Form Fields 7 = Form Field Fill-in or Signing 8 = Content Accessibility Enabled 9 = Document Assembly 10 = Encryption Level |
Return values
| 0 | None |
| 1 | Adobe Standard Security |
| 2 | No |
| 3 | Yes |
| 4 | Fully Allowed |
| 5 | Not Allowed |
| 6 | Allowed |
| 7 | 40-bit RC4 (Acrobat 3.x, 4.x) |
| 8 | 128-bit RC4 (Acrobat 5.x) |
| 9 | Unknown |
| 10 | Low resolution |
| 11 | Blank |
| 12 | 128-bit AES (Acrobat 7.x) |
| 13 | 256-bit AES (Acrobat 9.x) |