View previous topic :: View next topic |
Author |
Message |
choreson
Joined: 17 Jul 2007 Posts: 12
|
Posted: Tue Jul 17, 2007 7:18 pm Post subject: Do we always have to explicitly say document.AddPage()? |
|
|
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. |
|
Back to top |
|
|
Thomas Hoevel
Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Wed Jul 18, 2007 7:45 am Post subject: |
|
|
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 |
|
Back to top |
|
|
choreson
Joined: 17 Jul 2007 Posts: 12
|
Posted: Thu Jul 19, 2007 3:11 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
|