PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Combining pages http://forum.pdfsharp.de/viewtopic.php?f=2&t=1345 |
Page 1 of 1 |
Author: | juliashah [ Tue Sep 21, 2010 8:10 pm ] |
Post subject: | Combining pages |
Hi, I am using concatenating sample to combine different PDF documents together. My question is - is it possible to combine two pages on one page? For example, if I have document A with just half a page of content in it, and document B with 1.5 pages of content, can I get document C that has 2 pages of content? Thanks Julia |
Author: | Thomas Hoevel [ Wed Sep 22, 2010 11:14 am ] |
Post subject: | Re: Combining pages |
Hi! This can be done, but in a limited way. There is no clipping when drawing pages in a new document. The complicated case (half page from A plus top half page from B1, bottom half of B1 plus top half of B2) would work, but to get the bottom half of B2 you'd have to draw the whole page with a negative offset so that the top half is not visible. The simpler case would be drawing A halfway on the second page of B is basically the same. The real challenge: finding free areas on the pages. Not easy to write a program that will automatically detect unused areas. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |