PDFsharp & MigraDoc Foundation

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

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Overlays
PostPosted: Tue Aug 16, 2011 7:09 pm 
Offline

Joined: Wed Jun 11, 2008 3:20 pm
Posts: 6
I've got two documents, one is a base document, and the other is dynamic. I'd like to overlay the second onto the first. That is, I'd like to take every object on page 1 of teh second, and isnert it on top of page 1 of the original document.

I don't really have to worry about form fields... but I do have to worry about embedded fonts.

I also can't really render the doc to an image and do it. I need the text to remain in tact.

Are there any examples of doing this?


Top
 Profile  
Reply with quote  
 Post subject: Re: Overlays
PostPosted: Mon Aug 22, 2011 10:03 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Create a new document, draw the static page, draw the dynamic page (or the other way around), save - that's all.

See this sample (just draw pages 1:1 without shrinking):
http://www.pdfsharp.net/wiki/TwoPagesOnOne-sample.ashx

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 56 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