Overview
Are you a developer? Do you want to add the "PDF Password Remover", "PDF Decrypter", "Remove the owner password and restrictions of PDF files" feature to your application?
Now, you can try PDF Decrypt ActiveX DLL, with a few function calls, it helps you decrypt the password of pdf in your Win programs or Web applications.
PDF Decrypt ActiveX DLL was intended to decrypt protected Adobe Acrobat PDF files, that comes with "owner" password set, preventing the file from editing (changing), printing, selecting text and graphics (and copying them into the Clipboard), or adding/changing annotations and form fields.
All editions of Adobe Acrobat (including 5.x, 6.x, 7.x, 8.x, 9.x which tools 40-bit,128-bit RC4 & AES, 256-bit AES encryption) are allowed by PDF Decrypt ActiveX DLL.
It is a standalone component and does not depend on Adobe Acrobat, or even Acrobat Reader.
Key Features
- Remove the security settings from your encrypted PDF file is instant.
- Support Adobe Standard 40-bit Encryption, Adobe Advanced 128-bit Encryption, and AES Encryption.
- Decrypt protected Adobe Acrobat PDF files, removing restrictions on printing, editing, copying.
- Support many development languages, such as VB Script, Javascript, Perl, Php, Python, ASP, ASP.Net, VB.Net, C#, VB6, Cold Fusion, Delphi, VC++, Java, etc.
- Support detect whether the PDF file is encrypted.
- Royalty-free, Use PDF Decrypt ActiveX DLL in your applications without needing to pay any royalty fees for distribution.
- No limits on the number of applications.
- Support Windows XP/VISTA/7/8/10/11 and Windows Server 2003/2008/2012/2016(Include R2).
- Support Windows 32-bit and Windows 64-bit.
Screenshot
System Requirements
Desktop
- Windows XP (32-bit, 64-bit)
- Windows Vista (32-bit, 64-bit)
- Windows 7 (32-bit, 64-bit)
- Windows 8/8.1 (32-bit, 64-bit)
- Windows 10 (32-bit, 64-bit)
Server
- Windows Server 2003 (32-bit, 64-bit)
- Windows Server 2008 (32-bit, 64-bit)
- Windows Server 2012 (32-bit, 64-bit)
- Windows Server 2016 (32-bit, 64-bit)
FAQ
- What development languages are supported?
A: A lot. The DLL component is based on ActiveX, which can be used with VB Script, Javascript, Perl, Php, Python, ASP, ASP.Net, VB.Net, C#, VB6, Cold Fusion, Delphi, VC++, Java, etc. We have provided examples for all of the above languages. - How do I register the component?
A: Once you buy the DLL component, The registration code and download link of the full version will be sent to you by email. After creating an object instance of ActiveX DLL in your favorite programming languages, call the SetLicenseKey() method with the code you got by email. In this way, every limitation in the trial mode will be removed. - Can you do custom development for special usage?
A: Sure. Please tell us what you need and we can discuss a cost, and then develop a custom version on schedule just for you.
Sample code: Decrypt PDF with Delphi, VB, C#, ASP, PHP
» 1. Delphi Sample Code: Decrypt PDF with Delphi
implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); var obj: OleVariant; iRtn: Integer; sInFile, sOutFile: String; begin OpenDialog1.InitialDir:= ExtractFilePath(Application.ExeName); if not OpenDialog1.Execute then begin Exit; end else begin sInFile:= OpenDialog1.FileName; sOutFile := ChangeFileExt(sInFile, '') + '_By_ActiveX_Decrypt.pdf'; end; try obj := CreateOleObject('PDFDecryptX.DecryptLib'); //Create object except on E:Exception do begin ShowMessage('Please install AzSDK PDF Decrypt ActiveX DLL first.'); Exit; end; end; obj.SetLicenseKey('License Code'); //Set your license key iRtn := obj.LoadFromFile(sInFile, ''); //Load PDF file { iRtn = 1: loaded successful iRtn = 0: Can not Load iRtn =-1: File not exist } //if load file successful, then get relational property. if iRtn = 1 then begin if obj.IsEncrypted = 1 then //Encrypted PDF ? edtEncrypted.Text := '1->YES' else edtEncrypted.Text := '0->NO'; edtPage.Text := IntToStr(obj.PageCount); //Page count of PDF edtSize.Text := IntToStr(obj.FileSize); //File size of PDF end; iRtn := obj.Decrypt(sOutFile); //Decrypt method case iRtn of 0: edtResult.Text := '0->Decrypt failed'; 1: edtResult.Text := '1->Decrypt successful'; 2: edtResult.Text := '2->File not encrypted'; end; obj.Close; //Close file Obj := Unassigned; end; procedure TForm1.Button2Click(Sender: TObject); begin Close; end; end.
» 2. Visual Basic Sample Code: Decrypt PDF with Visual Basic
Private Sub Command1_Click() Dim obj As Object Dim iRtn As Integer Set obj = CreateObject("PDFDecryptX.DecryptLib") 'Create object obj.SetLicenseKey ("License Code") 'Set your license key iRtn = obj.LoadFromFile(".\PDFDecryptX.pdf", "") 'Load PDF file 'iRtn = 1: loaded successful 'iRtn=0:Load Failed; 'if load file successful, then get relational property. If iRtn = 1 Then If obj.IsEncrypted = 1 Then 'Encrypted PDF ? Text1.Text = "YES" Else Text1.Text = "NO" End If Text2.Text = obj.PageCount 'Page count of PDF Text3.Text = obj.FileSize 'File size of PDF End If iRtn = obj.Decrypt(".\PDFDecryptX-Decrypted.pdf") 'Decrypt method If iRtn = 0 Then Text4.Text = "0->Decrypt failed" ElseIf iRtn = 1 Then Text4.Text = "1->Decrypt successful" ElseIf iRtn = 2 Then Text4.Text = "2->File not encrypted" End If obj.Close 'Close file Set obj = Nothing End Sub Private Sub Command2_Click() Unload Form1 End Sub
» 3. C# Sample Code: Decrypt PDF with C# (C-Sharp)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using PDFDecryptX; namespace Application1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { DecryptLibClass obj = new PDFDecryptX.DecryptLibClass(); obj.SetLicenseKey("License Code"); int iRtn = obj.LoadFromFile(".\\PDFDecryptX.pdf", ""); if (iRtn == 1) { if (obj.IsEncrypted == 1) { textBox1.Text = "YES"; } else { textBox1.Text = "NO"; } textBox2.Text = obj.PageCount.ToString(); textBox3.Text = obj.FileSize.ToString(); } int iValue = obj.Decrypt(".\\PDFDecryptX-Decrypted.pdf"); switch(iValue) { case 0: textBox4.Text = "0->Decrypt failed"; break; case 1: textBox4.Text = "1->Decrypt successful"; break; case 2: textBox4.Text = "2->File not encrypted"; break; } } private void button2_Click(object sender, EventArgs e) { Close(); } } }
» 4. ASP Sample Code: Decrypt PDF with ASP
<% Set obj = server.createobject("PDFDecryptX.DecryptLib") 'Create object obj.SetLicenseKey("License Code") 'Set your license key If 1 = obj.LoadFromFile(".\PDFDecryptX.PDF", "") Then 'Load PDF file If 1 = obj.Decrypt(".\PDFDecryptX-Decrypted.pdf") Then 'Decrypt Method Response.Write("Decrypt successful.") End If obj.Close() 'Close file End If Set obj = Nothing %>
» 5. PHP Sample Code: Decrypt PDF with PHP
SetLicenseKey("License Code"); //Set your license key if ( 1 == $obj->LoadFromFile("c:/PDFDecryptX.pdf", "") ) //Load PDF file { if ( 1 == $obj->Decrypt("c:/PDFDecryptX-Decrypted.pdf") ) //Decrypt Method { echo "Decrypt successful." ; } $obj->Close(); //Close file } $obj = null; ?>
Unregistered Copy Limitation
- AzSDK PDF Decrypt ActiveX DLL is limited for 14 days without registration.
- Only 3 Pages can be processed.