How to uncompress PDF file by PDF Toolbox COM from C# or VB.NET or ASP.NET code

Below you can see a samle how to uncompress or unpack a PDF file in C#, you can port this C# example to VB.NET or ASP.NET code easily,

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Call_PDFToolBoxCom
class Program
static void Main(string[] args)
string strExePath = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
PDFToolBoxCom.PDFToolBoxCom p = new PDFToolBoxCom.PDFToolBoxCom();

string strReturn = p.RunCMD(@"D:\temp\test.pdf -outfile D:\temp\out.pdf -unpack -$ XXXXXXXXXXXXXXXXXXX");

Console.WriteLine("Please enter any key to continue...");

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!