Hi Rick, when you add the template using cb.addtemplate function you can give the scale factor there,
its a matrix cb.addTemplate(page1, 0.5, 0, 0, 0.5, 0, 0) the above function would add the imported page at 50% of its original size for more information see http://itextsharp.sourceforge.net/tutorial/ch10.html Hope this helps Kalpesh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 3:49 PM To: [EMAIL PROTECTED] Subject: [iText-questions] Shrinking a PDF Hi, I'm just now getting my hands dirty with the iText package, and I'm really impressed with what this thing can do. I've hit a roadblock, though, and I was hoping someone could answer a quick question... Is there any way to import a PDF (possibly as a graphic) into a new PDF document while changing the size of the imported PDF? I basically want to place a shrunken PDF into a new document, the way you can with a graphic. The help is appreciated. Thanks! Rick ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
