:: 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 needed to build an entreprise level solution to stamp large batches of PDF files. With PDFstamp I could do it in a short time and for a fraction of the price your competitors charge.

Claude Lefevre

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