PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Apr 30, 2024 2:54 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
PostPosted: Mon Jun 16, 2014 8:34 pm 
Offline

Joined: Fri Feb 29, 2008 6:39 pm
Posts: 2
Hi,

I would like to use a scan of a invoice form as template for rendering MigraDoc documents.

I tried to open a PDFDocument and set it to the PDFDocument property of the PDFRenderer in MigraDoc, but this creates an additional page instead of rendering the content on the given PDF page.

Is my wish possible or is this out of scope for MigraDoc?

Any information will be appreciated.

Thanks in advance.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 17, 2014 7:43 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3097
Location: Cologne, Germany
Hi!

You can use DrawImage() to draw a PDF page, filling the whole page.

It could be easier to use PDFsharp to draw the field contents at the exact positions.

_________________
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: jraff and 61 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