:: Home :: Products :: Technical Support :: About Us :: Contact Us
PDF Printer Driver, Convert to PDF, Print to PDF
Example 2: Scale a PDF file (VC++)  

   #include "stdafx.h"

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

   int _tmain()
   {
	IPDFresizePtr NVresize;	
	::CoInitialize(NULL); 

	NVresize.CreateInstance(__uuidof(PDFresize));

	NVresize->PutPaper("letter");
	NVresize->PutOrientation(2);
	NVresize->PutScale(true);

	NVresize->ResizePDF("c:\\in.pdf", "c:\\out.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 © 2013 neeviaPDF.com Home | Products | Support | About Us | Contact Us