PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

Shrink legal size to letter size
http://forum.pdfsharp.de/viewtopic.php?f=2&t=896
Page 1 of 1

Author:  vn911 [ Mon Oct 05, 2009 5:08 pm ]
Post subject:  Shrink legal size to letter size

Hi,

I was able to combine serveral PDF files into one pdf file using PdfSharp. Some of my pdf files have legal size pages. How can I convert (shrink) the legal size page to letter size so all pages in the new pdf file have same letter size? In other words, is there a way to shrink the content of the legal size page to fit onto a letter size page?

Thank you,

vn

Author:  Thomas Hoevel [ Tue Oct 06, 2009 8:18 am ]
Post subject:  Re: Shrink legal size to letter size

Hi!

Using XObject and DrawImage you can draw existing pages in new files - in any size, any angle, ...

See here:
http://www.pdfsharp.net/wiki/Graphics-sample.ashx
(last page of sample output)

Or here:
http://www.pdfsharp.net/wiki/Preview-sample.ashx

Author:  vn911 [ Tue Oct 06, 2009 10:57 pm ]
Post subject:  Re: Shrink legal size to letter size

Thanks for the tip, Thomas. That's exactly what I'm looking for.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/