PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
combine two pages in one https://forum.pdfsharp.net/viewtopic.php?f=2&t=1740 |
Page 1 of 1 |
Author: | ginopittaro [ Mon Aug 15, 2011 9:55 pm ] |
Post subject: | combine two pages in one |
Hello, (sorry for my english), I have never used pdfsharp but i would like to know if it is possible to do what I need: I have a single page pdf that contains an empty form (head, titles ('name:', 'town:',...) and rectangles, I have also another single page pdf that contains only the data (name, town,...). I need to combine the two single page pdf in one single page pdf that contains the form and the data. Is it possible? Thanks a lot. |
Author: | () => true [ Tue Aug 16, 2011 11:56 am ] |
Post subject: | Re: combine two pages in one |
Yes, it's possible - if at least one of those PDF files has transparent pages (which most PDF files have). Just create a new PDF file and draw both existing pages on a new page. |
Author: | wasabi [ Tue Aug 16, 2011 7:15 pm ] |
Post subject: | Re: combine two pages in one |
"Just create a new PDF file and draw both existing pages on a new page." How does one do this? The XGraphics object doesn't really seem to have a way to draw the entire contents of a page. |
Author: | Thomas Hoevel [ Mon Aug 22, 2011 9:59 am ] |
Post subject: | Re: combine two pages in one |
wasabi wrote: How does one do this? Do it just like the Two Pages on One sample does: http://www.pdfsharp.net/wiki/TwoPagesOnOne-sample.ashx |
Author: | ginopittaro [ Sun Aug 28, 2011 3:04 pm ] |
Post subject: | Re: combine two pages in one |
Done with the samples, thanks a lot. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |