How can I enable high quality printing when encrypt a PDF file?

VeryPDFToobox(Click here to Download)can help you enable high quality printing when set a permissions password. Please view the sample as follows to see how to do it.
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(strExePath + @"\1.pdf -outfile "+ strExePath + @"\out.pdf  -ownerpassword opwd -serpassword upwd -permit printing");
            Console.WriteLine(strReturn);
            Console.WriteLine("Please enter any key to continue...");
            Console.ReadKey();
        }
    }
}

______________________
Lear more: VeryPDF PDF Toolbox Component for .NET.

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

This entry was posted in VeryPDF SDK & COM and tagged , , , , , , , , . Bookmark the permalink.

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!