PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 20, 2024 6:18 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jul 17, 2007 7:18 pm 
Offline

Joined: Tue Jul 17, 2007 7:12 pm
Posts: 12
In many applications, it is simply not possible to tell when you want to add an additional page.

But, I see

PdfPage page = document.AddPage();

in all PDFSharp sample codes.

In our application, we don't know when we need another page. How do we go about getting another page, then?

Thanks.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 18, 2007 7:45 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
MigraDoc is the high-level API - you simply call AddText and MigraDoc will know when a new page is needed.
PdfSharp is the low-level API - you need to know when to start a new page.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jul 19, 2007 3:11 pm 
Offline

Joined: Tue Jul 17, 2007 7:12 pm
Posts: 12
Thomas Hövel wrote:
MigraDoc is the high-level API - you simply call AddText and MigraDoc will know when a new page is needed.
PdfSharp is the low-level API - you need to know when to start a new page.


OK, great. Thank you. I am testing with MigraDoc now and got some problems, too. I will start a new thread about it.


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

All times are UTC


Who is online

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