:: 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;
   }

Neevia PDFstamp is the right tool in case you need to programmatically stamp batches of PDF files with multiple watermaks. It is fast and cost effective!

Peter Stolz

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