PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Jul 20, 2024 11:35 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: combine two pages in one
PostPosted: Mon Aug 15, 2011 9:55 pm 
Offline

Joined: Mon Aug 15, 2011 11:10 am
Posts: 14
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.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 16, 2011 11:56 am 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 343
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.

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 16, 2011 7:15 pm 
Offline

Joined: Wed Jun 11, 2008 3:20 pm
Posts: 6
"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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 22, 2011 9:59 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
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

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 28, 2011 3:04 pm 
Offline

Joined: Mon Aug 15, 2011 11:10 am
Posts: 14
Done with the samples, thanks a lot.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 55 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group