:: Home :: Products :: Technical Support :: About Us :: Contact Us
PDF Printer Driver, Convert to PDF, Print to PDF
Example 3: Merge several PDF files and linearize the output (VC++)  

   #include "stdafx.h"

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

   int _tmain()
   {
	IPDFmergePtr NVMerge;	
	::CoInitialize(NULL); 

	NVMerge.CreateInstance(__uuidof(PDFmerge)); 

	NVMerge->PutLinearize(true);
    
	NVMerge->MergePDF("c:\\1.pdf+c:\\2.pdf", "c:\\merged.pdf");

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

Developing a solution that enables endusers to compress their PDF files is indeed an easy task with Neevia PDFcompress. Thank you!

Andrew Holden

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

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