PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Overlays
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1743
Page 1 of 1

Author:  wasabi [ Tue Aug 16, 2011 7:09 pm ]
Post subject:  Overlays

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?

Author:  Thomas Hoevel [ Mon Aug 22, 2011 10:03 am ]
Post subject:  Re: Overlays

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

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