:: Home :: Products :: Technical Support :: About Us :: Contact Us
PDF Printer Driver, Convert to PDF, Print to PDF
Example 2: Split a PDF file into single pages and encrypt output (VC++)  

   #include "stdafx.h"

   #using <mscorlib.dll>
   #import "PDFmerge.tlb" no_namespace named_guids 
   using namespace System;

   int _tmain()
   {
	IPDFsplitPtr NVSplit;	
	::CoInitialize(NULL); 

	NVSplit.CreateInstance(__uuidof(PDFsplit)); 

	NVSplit->PutPDFEncrypt(true);
	NVSplit->PutPDFEncryptionType("rc4");
	NVSplit->PutPDFOwnerPassword("owner");
	NVSplit->PutPDFPermissions("pe");
    
	NVSplit->SplitPDF("c:\\1.pdf", "c:\\out\\");

	Console::WriteLine(S"Done.");
	return 0;
   }

I downloaded PDFcompress and must say that I was impressed by the high compression ratio, speed and easy to use graphic interface.

Alex Wetzel

If you have any comments or suggestions about our web site, please feel free to email them to

Copyright © 2014 neeviaPDF.com Home | Products | Support | About Us | Contact Us