Quick PDF logo

EncryptionStrength

Document properties, Security and Signatures

Description

If the selected document has been encrypted this function returns the encryption strength. This is the length of the key used to encrypt the contents of the document.

Syntax

Delphi

function TQuickPDF0813.EncryptionStrength: Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::EncryptionStrength As Long

DLL

int QuickPDFEncryptionStrength(int InstanceID)

Return values

0 The selected document is not encrypted
40 The document has been encrypted with 40-bit encryption (Adobe Acrobat 3.x and 4.x)
128 The document has been encrypted with 128-bit encryption (Adobe Acrobat 5.x)
256 The document has been encrypted with 256-bit encryption (Adobe Acrobat 9.x)

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum